libredte 4.4.0__tar.gz → 5.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,25 @@
1
+ Metadata-Version: 2.4
2
+ Name: libredte
3
+ Version: 5.0.1
4
+ Summary: Cliente para realizar la integración con los servicios web de LibreDTE desde Python.
5
+ Author-email: LibreDTE <dev@libredte.cl>
6
+ License-Expression: LGPL-3.0-or-later
7
+ Project-URL: Homepage, https://github.com/LibreDTE/libredte-api-client-python
8
+ Keywords: sii,chile,facturación,electrónica
9
+ Classifier: Development Status :: 5 - Production/Stable
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Topic :: Software Development :: Build Tools
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3 :: Only
14
+ Classifier: Programming Language :: Python :: 3.14
15
+ Classifier: Typing :: Typed
16
+ Requires-Python: >=3.14
17
+ Description-Content-Type: text/x-rst
18
+ License-File: COPYING
19
+ Requires-Dist: requests>=2.32.4
20
+ Requires-Dist: urllib3>=2.0
21
+ Dynamic: license-file
22
+
1
23
  LibreDTE: Cliente de API en Python
2
24
  ==================================
3
25
 
@@ -12,59 +34,7 @@ LibreDTE: Cliente de API en Python
12
34
 
13
35
  Cliente para realizar la integración con los servicios web de `LibreDTE <https://www.libredte.cl>`_ desde Python.
14
36
 
15
- Instalación y actualización
16
- ---------------------------
17
-
18
- Instalar usando un entorno virtual y PIP con:
19
-
20
- .. code:: shell
21
-
22
- python3 -m venv venv
23
- source venv/bin/activate
24
- pip install libredte
25
-
26
- Actualizar usando PIP con:
27
-
28
- .. code:: shell
29
-
30
- pip install libredte --upgrade
31
-
32
- Autenticación en LibreDTE
33
- -------------------------
34
-
35
- Lo más simple, y recomendado, es usar una variable de entorno con el
36
- `hash del usuario <https://libredte.cl/usuarios/perfil#datos:hashField>`_,
37
- la cual será reconocida automáticamente por el cliente:
38
-
39
- .. code:: shell
40
-
41
- export LIBREDTE_HASH="aquí-tu-hash-de-usuario"
42
-
43
- Si no se desea usar una variable de entorno, al instanciar los objetos se
44
- deberá indicar el hash del usuario. Ejemplo:
45
-
46
- .. code:: python
47
-
48
- import libredte
49
- LIBREDTE_HASH="aquí-tu-hash-de-usuario"
50
- client = libredte.api_client.ApiClient(LIBREDTE_HASH)
51
-
52
- Si utilizas LibreDTE Edición Comunidad deberás además configurar la URL
53
- de tu servidor. Ejemplo:
54
-
55
- .. code:: shell
56
-
57
- export LIBREDTE_URL="https://libredte.example.com"
58
-
59
- Y si deseas hacerlo sin la variable de entorno, debes pasar la URL como
60
- segundo parámetro en el constructor del cliente:
61
-
62
- .. code:: python
63
-
64
- import libredte
65
- LIBREDTE_HASH="aquí-tu-hash-de-usuario"
66
- LIBREDTE_URL="https://libredte.example.com"
67
- client = libredte.api_client.ApiClient(LIBREDTE_HASH, LIBREDTE_URL)
37
+ Revisa la `documentación <https://api-client-python.docs.libredte.cl>`_ de la biblioteca para más información, sus características y detalles de su uso.
68
38
 
69
39
  Licencia
70
40
  --------
@@ -89,4 +59,4 @@ Enlaces
89
59
  - `Sitio web LibreDTE <https://www.libredte.cl>`_.
90
60
  - `Código fuente en GitHub <https://github.com/libredte/libredte-api-client-python>`_.
91
61
  - `Paquete en PyPI <https://pypi.org/project/libredte>`_.
92
- - `Documentación en Read the Docs <https://libredte.readthedocs.io/es/latest>`_.
62
+ - `Documentación <https://api-client-python.docs.libredte.cl>`_.
@@ -0,0 +1,40 @@
1
+ LibreDTE: Cliente de API en Python
2
+ ==================================
3
+
4
+ .. image:: https://badge.fury.io/py/libredte.svg
5
+ :target: https://pypi.org/project/libredte
6
+ .. image:: https://img.shields.io/pypi/status/libredte.svg
7
+ :target: https://pypi.org/project/libredte
8
+ .. image:: https://img.shields.io/pypi/pyversions/libredte.svg
9
+ :target: https://pypi.org/project/libredte
10
+ .. image:: https://img.shields.io/pypi/l/libredte.svg
11
+ :target: https://raw.githubusercontent.com/LibreDTE/libredte-api-client-python/master/COPYING
12
+
13
+ Cliente para realizar la integración con los servicios web de `LibreDTE <https://www.libredte.cl>`_ desde Python.
14
+
15
+ Revisa la `documentación <https://api-client-python.docs.libredte.cl>`_ de la biblioteca para más información, sus características y detalles de su uso.
16
+
17
+ Licencia
18
+ --------
19
+
20
+ Este programa es software libre: usted puede redistribuirlo y/o modificarlo
21
+ bajo los términos de la GNU Lesser General Public License (LGPL) publicada
22
+ por la Fundación para el Software Libre, ya sea la versión 3 de la Licencia,
23
+ o (a su elección) cualquier versión posterior de la misma.
24
+
25
+ Este programa se distribuye con la esperanza de que sea útil, pero SIN
26
+ GARANTÍA ALGUNA; ni siquiera la garantía implícita MERCANTIL o de APTITUD
27
+ PARA UN PROPÓSITO DETERMINADO. Consulte los detalles de la GNU Lesser General
28
+ Public License (LGPL) para obtener una información más detallada.
29
+
30
+ Debería haber recibido una copia de la GNU Lesser General Public License
31
+ (LGPL) junto a este programa. En caso contrario, consulte
32
+ `GNU Lesser General Public License <http://www.gnu.org/licenses/lgpl.html>`_.
33
+
34
+ Enlaces
35
+ -------
36
+
37
+ - `Sitio web LibreDTE <https://www.libredte.cl>`_.
38
+ - `Código fuente en GitHub <https://github.com/libredte/libredte-api-client-python>`_.
39
+ - `Paquete en PyPI <https://pypi.org/project/libredte>`_.
40
+ - `Documentación <https://api-client-python.docs.libredte.cl>`_.
@@ -16,3 +16,5 @@
16
16
  # (LGPL) junto a este programa. En caso contrario, consulte
17
17
  # <http://www.gnu.org/licenses/lgpl.html>.
18
18
  #
19
+
20
+ """LibreDTE: cliente de la API de LibreDTE en Python."""