tributus-engine 0.5.1__tar.gz → 0.5.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.
- {tributus_engine-0.5.1/src/tributus_engine.egg-info → tributus_engine-0.5.2}/PKG-INFO +2 -5
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/README.md +1 -4
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/pyproject.toml +1 -1
- {tributus_engine-0.5.1 → tributus_engine-0.5.2/src/tributus_engine.egg-info}/PKG-INFO +2 -5
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/LICENSE +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/setup.cfg +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine/__init__.py +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine/engine.py +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine/models.py +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine.egg-info/SOURCES.txt +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine.egg-info/dependency_links.txt +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine.egg-info/requires.txt +0 -0
- {tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tributus-engine
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Tributus Engine - Brazilian Tax Engine and Calculator Library
|
|
5
5
|
Author-email: Mackilem Van der Laan <mack.vdl@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -21,7 +21,7 @@ Dynamic: license-file
|
|
|
21
21
|
|
|
22
22
|
Pacote Python da biblioteca **Tributus Engine** para cálculo tributário brasileiro.
|
|
23
23
|
|
|
24
|
-
**Versão:** 0.5.
|
|
24
|
+
**Versão:** 0.5.2
|
|
25
25
|
**Requer:** Python ≥ 3.10, Pydantic ≥ 2.13.4
|
|
26
26
|
**Licença:** AGPL v3
|
|
27
27
|
|
|
@@ -96,13 +96,10 @@ payload = {
|
|
|
96
96
|
result = engine.calculate_from_dict(payload)
|
|
97
97
|
|
|
98
98
|
# Retorno simplificado (detailed=False)
|
|
99
|
-
print(result.to_dict())
|
|
100
99
|
# {'amounts': {'ipi': '108.00', 'icms': '184.96', 'pis': '9.54', 'cofins': '42.93'},
|
|
101
100
|
# 'messages': [],
|
|
102
101
|
# 'total': '345.43'}
|
|
103
102
|
|
|
104
|
-
# Retorno completo (detailed=True)
|
|
105
|
-
print(result.to_dict(detailed=True))
|
|
106
103
|
```
|
|
107
104
|
|
|
108
105
|
### 2) Estrutura de `taxes` suportada
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Pacote Python da biblioteca **Tributus Engine** para cálculo tributário brasileiro.
|
|
4
4
|
|
|
5
|
-
**Versão:** 0.5.
|
|
5
|
+
**Versão:** 0.5.2
|
|
6
6
|
**Requer:** Python ≥ 3.10, Pydantic ≥ 2.13.4
|
|
7
7
|
**Licença:** AGPL v3
|
|
8
8
|
|
|
@@ -77,13 +77,10 @@ payload = {
|
|
|
77
77
|
result = engine.calculate_from_dict(payload)
|
|
78
78
|
|
|
79
79
|
# Retorno simplificado (detailed=False)
|
|
80
|
-
print(result.to_dict())
|
|
81
80
|
# {'amounts': {'ipi': '108.00', 'icms': '184.96', 'pis': '9.54', 'cofins': '42.93'},
|
|
82
81
|
# 'messages': [],
|
|
83
82
|
# 'total': '345.43'}
|
|
84
83
|
|
|
85
|
-
# Retorno completo (detailed=True)
|
|
86
|
-
print(result.to_dict(detailed=True))
|
|
87
84
|
```
|
|
88
85
|
|
|
89
86
|
### 2) Estrutura de `taxes` suportada
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: tributus-engine
|
|
3
|
-
Version: 0.5.
|
|
3
|
+
Version: 0.5.2
|
|
4
4
|
Summary: Tributus Engine - Brazilian Tax Engine and Calculator Library
|
|
5
5
|
Author-email: Mackilem Van der Laan <mack.vdl@gmail.com>
|
|
6
6
|
Classifier: Programming Language :: Python :: 3
|
|
@@ -21,7 +21,7 @@ Dynamic: license-file
|
|
|
21
21
|
|
|
22
22
|
Pacote Python da biblioteca **Tributus Engine** para cálculo tributário brasileiro.
|
|
23
23
|
|
|
24
|
-
**Versão:** 0.5.
|
|
24
|
+
**Versão:** 0.5.2
|
|
25
25
|
**Requer:** Python ≥ 3.10, Pydantic ≥ 2.13.4
|
|
26
26
|
**Licença:** AGPL v3
|
|
27
27
|
|
|
@@ -96,13 +96,10 @@ payload = {
|
|
|
96
96
|
result = engine.calculate_from_dict(payload)
|
|
97
97
|
|
|
98
98
|
# Retorno simplificado (detailed=False)
|
|
99
|
-
print(result.to_dict())
|
|
100
99
|
# {'amounts': {'ipi': '108.00', 'icms': '184.96', 'pis': '9.54', 'cofins': '42.93'},
|
|
101
100
|
# 'messages': [],
|
|
102
101
|
# 'total': '345.43'}
|
|
103
102
|
|
|
104
|
-
# Retorno completo (detailed=True)
|
|
105
|
-
print(result.to_dict(detailed=True))
|
|
106
103
|
```
|
|
107
104
|
|
|
108
105
|
### 2) Estrutura de `taxes` suportada
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{tributus_engine-0.5.1 → tributus_engine-0.5.2}/src/tributus_engine.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|