{"id":20415508,"url":"https://github.com/cordada/lib-pe-sunat-python","last_synced_at":"2025-04-12T17:06:41.648Z","repository":{"id":50392222,"uuid":"513222251","full_name":"cordada/lib-pe-sunat-python","owner":"cordada","description":"Python library for Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) of Peru","archived":false,"fork":false,"pushed_at":"2025-03-25T13:15:47.000Z","size":283,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"develop","last_synced_at":"2025-03-26T11:21:27.390Z","etag":null,"topics":["library","peru","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cordada.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-12T16:50:42.000Z","updated_at":"2025-03-24T18:27:36.000Z","dependencies_parsed_at":"2022-08-12T21:11:41.795Z","dependency_job_id":"d5cbcfcf-99d5-43b4-ac32-90e83c7b2533","html_url":"https://github.com/cordada/lib-pe-sunat-python","commit_stats":{"total_commits":87,"total_committers":4,"mean_commits":21.75,"dds":"0.33333333333333337","last_synced_commit":"85317e56980d197bf070a95f994b48738a3d1d4c"},"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cordada%2Flib-pe-sunat-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cordada%2Flib-pe-sunat-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cordada%2Flib-pe-sunat-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cordada%2Flib-pe-sunat-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cordada","download_url":"https://codeload.github.com/cordada/lib-pe-sunat-python/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248602302,"owners_count":21131615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["library","peru","python"],"created_at":"2024-11-15T06:16:31.955Z","updated_at":"2025-04-12T17:06:41.609Z","avatar_url":"https://github.com/cordada.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PE-SUNAT Python Library\n\nThis is a Python library for the *Superintendencia Nacional de Aduanas y de Administración\nTributaria* (SUNAT) of *Perú*.\n\n\n## Dashboard\n\n### Development\n\n| VCS Branch | Deployment Environment | VCS Repository | CI/CD Status |\n| ---------- | ---------------------- | -------------- | ------------ |\n| `develop` | Staging | [GitHub](https://github.com/cordada/lib-pe-sunat-python/tree/develop) | [![GitHub Actions](https://github.com/cordada/lib-pe-sunat-python/actions/workflows/ci-cd.yaml/badge.svg?branch=develop)](https://github.com/cordada/lib-pe-sunat-python/actions/workflows/ci-cd.yaml?query=branch:develop) |\n| `master` | Production | [GitHub](https://github.com/cordada/lib-pe-sunat-python/tree/master) | [![GitHub Actions](https://github.com/cordada/lib-pe-sunat-python/actions/workflows/ci-cd.yaml/badge.svg?branch=master)](https://github.com/cordada/lib-pe-sunat-python/actions/workflows/ci-cd.yaml?query=branch:master) |\n\n\n| Code Climate | Project Analysis |\n| ------------ | ---------------- |\n| [![Maintainability](https://api.codeclimate.com/v1/badges/ede6619f0d7dc4a0f0bc/maintainability)](https://codeclimate.com/github/cordada/lib-pe-sunat-python/maintainability) | [Open Source Insights](https://deps.dev/pypi/pe-sunat) |\n\n\n| Code Coverage |\n| ------------- |\n| [![Codecov](https://codecov.io/gh/cordada/lib-pe-sunat-python/branch/develop/graph/badge.svg?token=T4NJV2PI6X)](https://codecov.io/gh/cordada/lib-pe-sunat-python) |\n\n\n### Hosting\n\n| Deployment Environment | Python Package Registry |\n| ---------------------- | ----------------------- |\n| Production | [PyPI](https://pypi.org/project/pe-sunat/) |\n\n\n## Installation\n\nInstall Python package:\n\n```sh\npip install pe-sunat\n```\n\n\n## Usage\n\n```python\nfrom cordada.pe_sunat.ruc.entities import Ruc\n\n\nexample_valid_ruc = Ruc('20131312955')\nprint(example_valid_ruc.digits, example_valid_ruc.check_digit)\n\nexample_invalid_ruc = Ruc('20131312950', validate_check_digit=True)\n```\n\n\n## Additional Documentation\n\n[Documentation](docs/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcordada%2Flib-pe-sunat-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcordada%2Flib-pe-sunat-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcordada%2Flib-pe-sunat-python/lists"}