spei-python 0.51.0__tar.gz → 0.51.2__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.0 → spei_python-0.51.2}/PKG-INFO +3 -1
- {spei_python-0.51.0 → spei_python-0.51.2}/pyproject.toml +3 -2
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/orden.py +5 -1
- {spei_python-0.51.0 → spei_python-0.51.2}/README.md +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/README.md +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/__init__.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/cep_generator.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/checksum/__init__.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/checksum/factory.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/checksum/generator.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/checksum/types.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/client.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/errors/__init__.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/errors/sice.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/errors/spei.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/exceptions.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/mappings.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/requests/__init__.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/requests/acuse.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/requests/cda.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/requests/orden.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/requests/respuesta.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/__init__.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/acuse.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/cda.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/ensesion.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/mensaje.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/payments.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/resources/respuesta.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/responses/__init__.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/responses/acuse.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/responses/orden.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/responses/respuesta.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/sice.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/types/__init__.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/types/sice.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/types/spei.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/utils.py +0 -0
- {spei_python-0.51.0 → spei_python-0.51.2}/spei/validators.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: spei-python
|
|
3
|
-
Version: 0.51.
|
|
3
|
+
Version: 0.51.2
|
|
4
4
|
Summary:
|
|
5
5
|
Author: tech
|
|
6
6
|
Author-email: tech@fondeadora.com
|
|
@@ -10,10 +10,12 @@ Classifier: Programming Language :: Python :: 3.9
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3.10
|
|
11
11
|
Classifier: Programming Language :: Python :: 3.11
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.12
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
13
14
|
Requires-Dist: cryptography (>=3.0,<43.1)
|
|
14
15
|
Requires-Dist: lxml (>=4.7.1,<5.0.0)
|
|
15
16
|
Requires-Dist: pydantic (>=1.8.2,<2.0.0)
|
|
16
17
|
Requires-Dist: requests (>=2.32.2,<3.0.0)
|
|
18
|
+
Requires-Dist: unidecode (>=1.3.8,<2.0.0)
|
|
17
19
|
Description-Content-Type: text/markdown
|
|
18
20
|
|
|
19
21
|
[](https://github.com/wemake-services/wemake-python-styleguide)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "spei-python"
|
|
3
|
-
version = "0.51.
|
|
3
|
+
version = "0.51.2"
|
|
4
4
|
description = ""
|
|
5
5
|
authors = ["tech <tech@fondeadora.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -12,6 +12,7 @@ lxml = "^4.7.1"
|
|
|
12
12
|
pydantic = ">=1.8.2, <2.0.0"
|
|
13
13
|
requests = "^2.32.2"
|
|
14
14
|
cryptography = ">=3.0,<43.1"
|
|
15
|
+
unidecode = "^1.3.8"
|
|
15
16
|
|
|
16
17
|
[tool.poetry.dev-dependencies]
|
|
17
18
|
add-trailing-comma = "^2.2.3"
|
|
@@ -32,7 +33,7 @@ build-backend = "poetry.core.masonry.api"
|
|
|
32
33
|
|
|
33
34
|
[tool.commitizen]
|
|
34
35
|
name = "cz_conventional_commits"
|
|
35
|
-
version = "0.51.
|
|
36
|
+
version = "0.51.2"
|
|
36
37
|
tag_format = "v$version"
|
|
37
38
|
bump_message = "bump: Semantic Release Bot: Release Version: $new_version 🤖🚀 [skip ci]"
|
|
38
39
|
version_files = [
|
|
@@ -3,6 +3,7 @@ from typing import Optional
|
|
|
3
3
|
|
|
4
4
|
from lxml import etree
|
|
5
5
|
from pydantic import BaseModel, validator
|
|
6
|
+
from unidecode import unidecode
|
|
6
7
|
|
|
7
8
|
from spei import types
|
|
8
9
|
from spei.utils import to_snake_case, to_upper_camel_case # noqa: WPS347
|
|
@@ -174,7 +175,10 @@ class Orden(BaseModel):
|
|
|
174
175
|
for element in orden_element.getchildren():
|
|
175
176
|
tag = to_snake_case(element.tag)
|
|
176
177
|
if tag in cls.__fields__:
|
|
177
|
-
|
|
178
|
+
if element.text:
|
|
179
|
+
orden_data[tag] = unidecode(element.text.strip())
|
|
180
|
+
else:
|
|
181
|
+
orden_data[tag] = None
|
|
178
182
|
if tag == 'op_ins_clave':
|
|
179
183
|
orden_data['op_ins_clave_ord'] = element.text
|
|
180
184
|
|
|
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
|
|
File without changes
|
|
File without changes
|