Skip to main content

Python library for Superintendencia Nacional de Aduanas y de Administración Tributaria (SUNAT) of Peru.

Project description

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 Status
develop Staging GitHub GitHub Actions
master Production GitHub GitHub Actions
Code Climate Project Analysis
Maintainability Open Source Insights

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

Documentation

Changelog

1.2.0 (2023-01-05)

  • (PR #15, 2022-08-09) chore: Improve Git commit linter
  • (PR #16, 2022-08-11) chore: Add code owners
  • (PR #17, 2022-08-29) Add information dashboard to readme
  • (PR #18, 2022-09-06) chore: bump black from 22.6.0 to 22.8.0
  • (PR #19, 2022-09-08) chore: bump coverage from 6.4.2 to 6.4.4
  • (PR #22, 2022-10-19) chore: bump mypy from 0.971 to 0.981
  • (PR #21, 2022-10-19) chore: bump tox from 3.25.1 to 3.26.0
  • (PR #20, 2022-10-21) chore: bump coverage from 6.4.4 to 6.5.0
  • (PR #23, 2022-11-02) chore: bump mypy from 0.981 to 0.982
  • (PR #24, 2022-11-02) chore: bump black from 22.8.0 to 22.10.0
  • (PR #25, 2022-11-02) chore: bump tox from 3.26.0 to 3.27.0
  • (PR #26, 2022-11-23) fix: Fix Dependabot error pip.….Error: Constraints cannot have extras
  • (PR #27, 2022-11-23) chore: bump cryptography from 37.0.4 to 38.0.3
  • (PR #30, 2022-12-05) chore: bump twine from 4.0.1 to 4.0.2
  • (PR #29, 2022-12-05) chore: bump mypy from 0.982 to 0.991
  • (PR #28, 2022-12-06) chore: bump tox from 3.27.0 to 3.27.1
  • (PR #36, 2023-01-04) chore: Add support for Python 3.10

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__

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pe-sunat-1.2.0.tar.gz (6.7 kB view hashes)

Uploaded Source

Built Distribution

pe_sunat-1.2.0-py3-none-any.whl (6.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page