spei-python 0.51.2__tar.gz → 0.52.0__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.
- {spei_python-0.51.2 → spei_python-0.52.0}/PKG-INFO +2 -2
- {spei_python-0.51.2 → spei_python-0.52.0}/pyproject.toml +5 -6
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/checksum/generator.py +2 -2
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/client.py +1 -1
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/payments.py +2 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/README.md +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/README.md +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/__init__.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/cep_generator.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/checksum/__init__.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/checksum/factory.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/checksum/types.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/errors/__init__.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/errors/sice.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/errors/spei.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/exceptions.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/mappings.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/requests/__init__.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/requests/acuse.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/requests/cda.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/requests/orden.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/requests/respuesta.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/__init__.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/acuse.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/cda.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/ensesion.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/mensaje.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/orden.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/resources/respuesta.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/responses/__init__.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/responses/acuse.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/responses/orden.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/responses/respuesta.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/sice.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/types/__init__.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/types/sice.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/types/spei.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/utils.py +0 -0
- {spei_python-0.51.2 → spei_python-0.52.0}/spei/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: spei-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.52.0
|
|
4
4
|
Summary:
|
|
5
5
|
Author: tech
|
|
6
6
|
Author-email: tech@fondeadora.com
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3.11
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.13
|
|
14
14
|
Requires-Dist: cryptography (>=3.0,<43.1)
|
|
15
|
-
Requires-Dist: lxml (>=
|
|
15
|
+
Requires-Dist: lxml (>=5.0.0,<6.0.0)
|
|
16
16
|
Requires-Dist: pydantic (>=1.8.2,<2.0.0)
|
|
17
17
|
Requires-Dist: requests (>=2.32.2,<3.0.0)
|
|
18
18
|
Requires-Dist: unidecode (>=1.3.8,<2.0.0)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "spei-python"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.52.0"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["tech <tech@fondeadora.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -8,15 +8,15 @@ packages = [{include = "spei"}]
|
|
|
8
8
|
|
|
9
9
|
[tool.poetry.dependencies]
|
|
10
10
|
python = ">=3.8.1,<4.0"
|
|
11
|
-
lxml = "^
|
|
11
|
+
lxml = "^5.0.0"
|
|
12
12
|
pydantic = ">=1.8.2, <2.0.0"
|
|
13
13
|
requests = "^2.32.2"
|
|
14
14
|
cryptography = ">=3.0,<43.1"
|
|
15
15
|
unidecode = "^1.3.8"
|
|
16
16
|
|
|
17
|
-
[tool.poetry.dev
|
|
17
|
+
[tool.poetry.group.dev.dependencies]
|
|
18
18
|
add-trailing-comma = "^2.2.3"
|
|
19
|
-
commitizen = "^
|
|
19
|
+
commitizen = "^3.31.0"
|
|
20
20
|
docformatter = "1.5.0"
|
|
21
21
|
expects = "^0.9.0"
|
|
22
22
|
Faker = "^13.12.0"
|
|
@@ -30,10 +30,9 @@ mypy = "^1.10"
|
|
|
30
30
|
requires = ["poetry-core>=1.0.0"]
|
|
31
31
|
build-backend = "poetry.core.masonry.api"
|
|
32
32
|
|
|
33
|
-
|
|
34
33
|
[tool.commitizen]
|
|
35
34
|
name = "cz_conventional_commits"
|
|
36
|
-
version = "0.
|
|
35
|
+
version = "0.52.0"
|
|
37
36
|
tag_format = "v$version"
|
|
38
37
|
bump_message = "bump: Semantic Release Bot: Release Version: $new_version 🤖🚀 [skip ci]"
|
|
39
38
|
version_files = [
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
from datetime import datetime
|
|
2
2
|
from decimal import Decimal
|
|
3
|
-
from typing import Optional
|
|
3
|
+
from typing import Optional, Tuple
|
|
4
4
|
|
|
5
5
|
from spei.resources import Orden
|
|
6
6
|
|
|
@@ -56,7 +56,7 @@ class ChecksumGenerator(object):
|
|
|
56
56
|
|
|
57
57
|
def _list_to_bytes(
|
|
58
58
|
self,
|
|
59
|
-
message_data:
|
|
59
|
+
message_data: Tuple[bytearray, ...],
|
|
60
60
|
) -> bytes:
|
|
61
61
|
res = bytearray()
|
|
62
62
|
for field in message_data:
|
|
@@ -83,6 +83,6 @@ class BaseClient(object):
|
|
|
83
83
|
def _raise_error(self, respuesta: Respuesta):
|
|
84
84
|
if respuesta.err_codigo == errors.GenericoCodigoError.tipo_pago_invalido:
|
|
85
85
|
raise exceptions.TipoPagoInvalidoError(respuesta)
|
|
86
|
-
if respuesta.err_codigo == errors.OtrosCodigoError.otros_fecha_operacion_incorrecta: # noqa: E501
|
|
86
|
+
if (respuesta.err_codigo == errors.OtrosCodigoError.otros_fecha_operacion_incorrecta): # noqa: E501
|
|
87
87
|
raise exceptions.FechaOperacionIncorrectaError(respuesta)
|
|
88
88
|
raise exceptions.SPEIError(respuesta)
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|