Metadata-Version: 2.1
Name: cl-sii
Version: 0.6.0
Summary: Python library for Servicio de Impuestos Internos (SII) of Chile.
Home-page: https://github.com/fyndata/lib-cl-sii-python
Author: Fyndata (Fynpal SpA)
Author-email: no-reply@fyndata.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: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.7
Requires-Python: >=3.7, <3.8
Description-Content-Type: text/x-rst
Requires-Dist: cryptography (<3,>=2.6.1)
Requires-Dist: defusedxml (<1,>=0.5.0)
Requires-Dist: lxml (<5,>=4.2.6)
Requires-Dist: marshmallow (<3,>=2.16.3)
Requires-Dist: pyOpenSSL (<19,>=18.0.0)
Requires-Dist: pytz (>=2018.7)
Requires-Dist: signxml (>=2.6.0)
Provides-Extra: django
Requires-Dist: Django (>=2.1) ; extra == 'django'
Provides-Extra: djangorestframework
Requires-Dist: djangorestframework (>=3.8.2) ; extra == 'djangorestframework'

=================
cl-sii Python lib
=================

.. image:: https://img.shields.io/pypi/v/cl-sii.svg
    :target: https://pypi.python.org/pypi/cl-sii
    :alt: PyPI package version

.. image:: https://img.shields.io/pypi/pyversions/cl-sii.svg
    :target: https://pypi.python.org/pypi/cl-sii
    :alt: Python versions

.. image:: https://img.shields.io/pypi/l/cl-sii.svg
    :target: https://pypi.python.org/pypi/cl-sii
    :alt: License

Python library for Servicio de Impuestos Internos (SII) of Chile.

Documentation
-------------

The full documentation is at https://lib-cl-sii-python.readthedocs.io.

Status
-------------

.. image:: https://circleci.com/gh/fyndata/lib-cl-sii-python/tree/develop.svg?style=shield
    :target: https://circleci.com/gh/fyndata/lib-cl-sii-python/tree/develop
    :alt: CI status

.. image:: https://codecov.io/gh/fyndata/lib-cl-sii-python/branch/develop/graph/badge.svg
    :target: https://codecov.io/gh/fyndata/lib-cl-sii-python
    :alt: Code coverage

.. image:: https://api.codeclimate.com/v1/badges/74408e5f8811f750ff3f/maintainability
    :target: https://codeclimate.com/github/fyndata/lib-cl-sii-python/maintainability
    :alt: Code Climate maintainability

.. image:: https://readthedocs.org/projects/lib-cl-sii-python/badge/?version=latest
    :target: https://lib-cl-sii-python.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation

Supported Python versions
-------------------------

Only Python 3.7. Python 3.6 and below will not work because we use some features introduced in
Python 3.7.

Quickstart
----------

Install package::

    pip install cl-sii

And TODO

Features
--------

* TODO

Tests
+++++

Requirements::

    pip install -r requirements/test.txt

Run test suite for all supported Python versions and run tools for
code style analysis, static type check, etc::

    make test-all
    make lint

Check code coverage of tests::

    make test-coverage
    make test-coverage-report-console




History
-------

0.6.0 (2019-05-08)
+++++++++++++++++++++++

Includes backwards-incompatible changes to data model ``DteDataL2``.

* (PR #38, 2019-05-08) dte.data_models: alter field ``DteDataL2.signature_x509_cert_pem``
* (PR #37, 2019-05-08) dte.data_models: alter field ``DteDataL2.firma_documento_dt_naive``
* (PR #36, 2019-05-08) libs.crypto_utils: add functions
* (PR #35, 2019-05-07) libs.tz_utils: minor improvements
* (PR #34, 2019-05-06) docs: Fix `bumpversion` command

0.5.1 (2019-05-03)
+++++++++++++++++++++++

* (PR #32, 2019-05-03) Requirements: updates and package upper-bounds

0.5.0 (2019-04-25)
+++++++++++++++++++++++

* (PR #29, 2019-04-25) dte.data_models: modify new fields of ``DteDataL2``
* (PR #28, 2019-04-25) libs: add module ``crypto_utils``
* (PR #27, 2019-04-25) libs: add module ``encoding_utils``
* (PR #26, 2019-04-25) test_data: add files
* (PR #25, 2019-04-25) libs.xml_utils: fix class alias ``XmlElementTree``
* (PR #24, 2019-04-25) requirements: add and update packages
* (PR #22, 2019-04-24) test_data: add files
* (PR #21, 2019-04-22) dte: many improvements
* (PR #20, 2019-04-22) libs.xml_utils: misc improvements
* (PR #19, 2019-04-22) test_data: fix and add real SII DTE & AEC XML files
* (PR #18, 2019-04-22) data.ref: add XML schemas for "Cesion" (RTC)

0.4.0 (2019-04-16)
+++++++++++++++++++++++

* (PR #16, 2019-04-16) dte.parse: change and improve ``clean_dte_xml``
* (PR #14, 2019-04-09) data.ref: merge XML schemas dirs
* (PR #13, 2019-04-09) extras: add Marshmallow field for a DTE's "tipo DTE"

0.3.0 (2019-04-05)
+++++++++++++++++++++++

* (PR #11, 2019-04-05) dte: add module ``parse``
* (PR #10, 2019-04-05) dte: add module ``data_models``
* (PR #9, 2019-04-05) libs: add module ``xml_utils``
* (PR #8, 2019-04-05) add sub-package ``rcv``

0.2.0 (2019-04-04)
+++++++++++++++++++++++

* (PR #6, 2019-04-04) data.ref: add XML schemas of "factura electrónica"
* (PR #5, 2019-04-04) extras: add 'RutField' for Django models, DRF and MM
* (PR #4, 2019-04-04) Config CircleCI

0.1.0 (2019-04-04)
+++++++++++++++++++++++

* (PR #2, 2019-04-04) Add class and constants for RUT
* (PR #1, 2019-04-04) Whole setup for a Python package/library


