libredte


Namelibredte JSON
Version 4.3.0 PyPI version JSON
download
home_pagehttps://github.com/LibreDTE/libredte-api-client-python
SummaryCliente para realizar la integración con los servicios web de LibreDTE desde Python.
upload_time2024-02-28 19:18:37
maintainer
docs_urlNone
authorLibreDTE
requires_python
licenseLGPL
keywords sii chile facturación electrónica
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
LibreDTE: Cliente de API en Python
==================================

.. image:: https://badge.fury.io/py/libredte.svg
    :target: https://pypi.org/project/libredte
.. image:: https://img.shields.io/pypi/status/libredte.svg
    :target: https://pypi.org/project/libredte
.. image:: https://img.shields.io/pypi/pyversions/libredte.svg
    :target: https://pypi.org/project/libredte
.. image:: https://img.shields.io/pypi/l/libredte.svg
    :target: https://raw.githubusercontent.com/LibreDTE/libredte-api-client-python/master/COPYING

Cliente para realizar la integración con los servicios web de `LibreDTE <https://www.libredte.cl>`_ desde Python.

Instalación y actualización
---------------------------

Instalar usando un entorno virtual y PIP con:

.. code:: shell

    python3 -m venv venv
    source venv/bin/activate
    pip install libredte

Actualizar usando PIP con:

.. code:: shell

    pip install libredte --upgrade

Autenticación en LibreDTE
-------------------------

Lo más simple, y recomendado, es usar una variable de entorno con el
`hash del usuario <https://libredte.cl/usuarios/perfil#datos:hashField>`_,
la cual será reconocida automáticamente por el cliente:

.. code:: shell

    export LIBREDTE_HASH="aquí-tu-hash-de-usuario"

Si no se desea usar una variable de entorno, al instanciar los objetos se
deberá indicar el hash del usuario. Ejemplo:

.. code:: python

    import libredte
    LIBREDTE_HASH="aquí-tu-hash-de-usuario"
    client = libredte.api_client.ApiClient(LIBREDTE_HASH)

Si utilizas LibreDTE Edición Comunidad deberás además configurar la URL
de tu servidor. Ejemplo:

.. code:: shell

    export LIBREDTE_URL="https://libredte.example.com"

Y si deseas hacerlo sin la variable de entorno, debes pasar la URL como
segundo parámetro en el constructor del cliente:

.. code:: python

    import libredte
    LIBREDTE_HASH="aquí-tu-hash-de-usuario"
    LIBREDTE_URL="https://libredte.example.com"
    client = libredte.api_client.ApiClient(LIBREDTE_HASH, LIBREDTE_URL)

Licencia
--------

Este programa es software libre: usted puede redistribuirlo y/o modificarlo
bajo los términos de la GNU Lesser General Public License (LGPL) publicada
por la Fundación para el Software Libre, ya sea la versión 3 de la Licencia,
o (a su elección) cualquier versión posterior de la misma.

Este programa se distribuye con la esperanza de que sea útil, pero SIN
GARANTÍA ALGUNA; ni siquiera la garantía implícita MERCANTIL o de APTITUD
PARA UN PROPÓSITO DETERMINADO. Consulte los detalles de la GNU Lesser General
Public License (LGPL) para obtener una información más detallada.

Debería haber recibido una copia de la GNU Lesser General Public License
(LGPL) junto a este programa. En caso contrario, consulte
`GNU Lesser General Public License <http://www.gnu.org/licenses/lgpl.html>`_.

Enlaces
-------

- `Sitio web LibreDTE <https://www.libredte.cl>`_.
- `Código fuente en GitHub <https://github.com/libredte/libredte-api-client-python>`_.
- `Paquete en PyPI <https://pypi.org/project/libredte>`_.
- `Documentación en Read the Docs <https://libredte.readthedocs.io/es/latest>`_.



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/LibreDTE/libredte-api-client-python",
    "name": "libredte",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "sii chile facturaci\u00f3n electr\u00f3nica",
    "author": "LibreDTE",
    "author_email": "dev@libredte.cl",
    "download_url": "https://files.pythonhosted.org/packages/bb/cd/8a3cbd2e6e64f5a8d8cd26771aaad2b01f6daf08105bb03e34f2d143bcf5/libredte-4.3.0.tar.gz",
    "platform": null,
    "description": "\nLibreDTE: Cliente de API en Python\n==================================\n\n.. image:: https://badge.fury.io/py/libredte.svg\n    :target: https://pypi.org/project/libredte\n.. image:: https://img.shields.io/pypi/status/libredte.svg\n    :target: https://pypi.org/project/libredte\n.. image:: https://img.shields.io/pypi/pyversions/libredte.svg\n    :target: https://pypi.org/project/libredte\n.. image:: https://img.shields.io/pypi/l/libredte.svg\n    :target: https://raw.githubusercontent.com/LibreDTE/libredte-api-client-python/master/COPYING\n\nCliente para realizar la integraci\u00f3n con los servicios web de `LibreDTE <https://www.libredte.cl>`_ desde Python.\n\nInstalaci\u00f3n y actualizaci\u00f3n\n---------------------------\n\nInstalar usando un entorno virtual y PIP con:\n\n.. code:: shell\n\n    python3 -m venv venv\n    source venv/bin/activate\n    pip install libredte\n\nActualizar usando PIP con:\n\n.. code:: shell\n\n    pip install libredte --upgrade\n\nAutenticaci\u00f3n en LibreDTE\n-------------------------\n\nLo m\u00e1s simple, y recomendado, es usar una variable de entorno con el\n`hash del usuario <https://libredte.cl/usuarios/perfil#datos:hashField>`_,\nla cual ser\u00e1 reconocida autom\u00e1ticamente por el cliente:\n\n.. code:: shell\n\n    export LIBREDTE_HASH=\"aqu\u00ed-tu-hash-de-usuario\"\n\nSi no se desea usar una variable de entorno, al instanciar los objetos se\ndeber\u00e1 indicar el hash del usuario. Ejemplo:\n\n.. code:: python\n\n    import libredte\n    LIBREDTE_HASH=\"aqu\u00ed-tu-hash-de-usuario\"\n    client = libredte.api_client.ApiClient(LIBREDTE_HASH)\n\nSi utilizas LibreDTE Edici\u00f3n Comunidad deber\u00e1s adem\u00e1s configurar la URL\nde tu servidor. Ejemplo:\n\n.. code:: shell\n\n    export LIBREDTE_URL=\"https://libredte.example.com\"\n\nY si deseas hacerlo sin la variable de entorno, debes pasar la URL como\nsegundo par\u00e1metro en el constructor del cliente:\n\n.. code:: python\n\n    import libredte\n    LIBREDTE_HASH=\"aqu\u00ed-tu-hash-de-usuario\"\n    LIBREDTE_URL=\"https://libredte.example.com\"\n    client = libredte.api_client.ApiClient(LIBREDTE_HASH, LIBREDTE_URL)\n\nLicencia\n--------\n\nEste programa es software libre: usted puede redistribuirlo y/o modificarlo\nbajo los t\u00e9rminos de la GNU Lesser General Public License (LGPL) publicada\npor la Fundaci\u00f3n para el Software Libre, ya sea la versi\u00f3n 3 de la Licencia,\no (a su elecci\u00f3n) cualquier versi\u00f3n posterior de la misma.\n\nEste programa se distribuye con la esperanza de que sea \u00fatil, pero SIN\nGARANT\u00cdA ALGUNA; ni siquiera la garant\u00eda impl\u00edcita MERCANTIL o de APTITUD\nPARA UN PROP\u00d3SITO DETERMINADO. Consulte los detalles de la GNU Lesser General\nPublic License (LGPL) para obtener una informaci\u00f3n m\u00e1s detallada.\n\nDeber\u00eda haber recibido una copia de la GNU Lesser General Public License\n(LGPL) junto a este programa. En caso contrario, consulte\n`GNU Lesser General Public License <http://www.gnu.org/licenses/lgpl.html>`_.\n\nEnlaces\n-------\n\n- `Sitio web LibreDTE <https://www.libredte.cl>`_.\n- `C\u00f3digo fuente en GitHub <https://github.com/libredte/libredte-api-client-python>`_.\n- `Paquete en PyPI <https://pypi.org/project/libredte>`_.\n- `Documentaci\u00f3n en Read the Docs <https://libredte.readthedocs.io/es/latest>`_.\n\n\n",
    "bugtrack_url": null,
    "license": "LGPL",
    "summary": "Cliente para realizar la integraci\u00f3n con los servicios web de LibreDTE desde Python.",
    "version": "4.3.0",
    "project_urls": {
        "Homepage": "https://github.com/LibreDTE/libredte-api-client-python"
    },
    "split_keywords": [
        "sii",
        "chile",
        "facturaci\u00f3n",
        "electr\u00f3nica"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "bbcd8a3cbd2e6e64f5a8d8cd26771aaad2b01f6daf08105bb03e34f2d143bcf5",
                "md5": "756ec9917f434c9753ecc53c21430541",
                "sha256": "ba62ac1fb1f3c5cdb55b63e6583123c5760ab2727e3fdd8f8000f796dd1dcca6"
            },
            "downloads": -1,
            "filename": "libredte-4.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "756ec9917f434c9753ecc53c21430541",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 13131,
            "upload_time": "2024-02-28T19:18:37",
            "upload_time_iso_8601": "2024-02-28T19:18:37.383689Z",
            "url": "https://files.pythonhosted.org/packages/bb/cd/8a3cbd2e6e64f5a8d8cd26771aaad2b01f6daf08105bb03e34f2d143bcf5/libredte-4.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-28 19:18:37",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "LibreDTE",
    "github_project": "libredte-api-client-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "libredte"
}
        
Elapsed time: 0.19642s