Metadata-Version: 2.1
Name: pe-sunat
Version: 1.1.0
Summary: Python library for Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) of Peru.
Home-page: https://github.com/cordada/lib-pe-sunat-python/
Author: Cordada SpA
Author-email: no-reply@cordada.com
License: MIT
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# PE-SUNAT Python Library

This is a Python library for the *Superintendencia Nacional de Aduanas y de Administración
Tributaria* (SUNAT) of *Perú*.


## Installation

Install Python package:

```sh
pip install pe-sunat
```


## Usage

```python
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)
```


## Development

[Development Documentation](docs/Development.md)

# Changelog

## 1.1.0 (2022-07-28)

- (PR #12, 2022-07-28) fix: Do not ignore environment variable `TOXENV` in Makefile
- (PR #9, 2022-07-28) Add entity 'RUC' (“Registro Único de Contribuyente”)


## 1.0.0 (2022-07-28)

- (PR #1, 2022-07-27) chore: Add Editor Configuration
- (PR #3, 2022-07-27) chore: Add CI workflows
- (PR #4, 2022-07-27) chore: Add Git Ignore
- (PR #5, 2022-07-27) chore: Manage Python dependencies with Pip Tools
- (PR #2, 2022-07-27) chore: Add software license
- (PR #6, 2022-07-27) chore: Add base Make tasks
- (PR #7, 2022-07-27) fix: Add missing base Make tasks
- (PR #8, 2022-07-28) Set up base project
- (PR #10, 2022-07-28) chore: Set package version in variable `cordada.pe_sunat.__version__`


