PE-SUNAT Python Library
This is a Python library for the Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) of Perú.
Dashboard
Development
| VCS Branch | Deployment Environment | VCS Repository | CI/CD Status |
|---|---|---|---|
develop |
Staging | GitHub | |
master |
Production | GitHub |
| Code Climate | Project Analysis |
|---|---|
| Open Source Insights |
| Code Coverage |
|---|
Hosting
| Deployment Environment | Python Package Registry |
|---|---|
| Production | PyPI |
Installation
Install Python package:
pip install pe-sunat
Usage
from cordada.pe_sunat.ruc.entities import Ruc
example_valid_ruc = Ruc('20131312955')
print(example_valid_ruc.digits, example_valid_ruc.check_digit)
example_invalid_ruc = Ruc('20131312950', validate_check_digit=True)
Additional Documentation
Metadata
Release files for pe-sunat 1.9.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pe_sunat-1.9.0.tar.gz | 6.6 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pe_sunat-1.9.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.6 kB
Release files / pe_sunat-1.9.0.tar.gz
| Download URL | pe_sunat-1.9.0.tar.gz |
|---|---|
| Size | 6.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9132fc5b9ead7ce8ac03da9a65bf54dc40ac6ec44564265b8eeb5175e6f605a2
|
|
BLAKE2b-256 checksum How to use checksums |
82f747a29249a1d37274d8ff810b3862dde86d1e0b4186486811be65289f36bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Release files / pe_sunat-1.9.0-py3-none-any.whl
| Download URL | pe_sunat-1.9.0-py3-none-any.whl |
|---|---|
| Size | 8.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc831c9ca3ca0fa35f6c63e0ce836d63949b043e778118a3967a3b995942f381
|
|
BLAKE2b-256 checksum How to use checksums |
ba3154cab5a33db39284ebf747c660942a082e72b31e04b50d3d37b7b92b3cd8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.20
|
Security for pe-sunat 1.9.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.