ipiranga-inovai-project-lib 5.8__tar.gz → 5.9__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.
Files changed (47) hide show
  1. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/PKG-INFO +2 -11
  2. ipiranga-inovai-project-lib-5.9/inovai/models/NFeImpostoRetido.py +284 -0
  3. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/ipiranga_inovai_project_lib.egg-info/PKG-INFO +2 -11
  4. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/setup.py +1 -1
  5. ipiranga_inovai_project_lib-5.8/inovai/models/NFeImpostoRetido.py +0 -114
  6. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/LICENSE +0 -0
  7. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/README.md +0 -0
  8. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/__init__.py +0 -0
  9. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/dtos.py +0 -0
  10. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/entities.py +0 -0
  11. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/enums.py +0 -0
  12. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/log.py +0 -0
  13. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/Endereco.py +0 -0
  14. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFe.py +0 -0
  15. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeBoleto.py +0 -0
  16. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeCartao.py +0 -0
  17. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeDadosAtivos.py +0 -0
  18. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeDetalhePagamento.py +0 -0
  19. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeDocImportacao.py +0 -0
  20. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeDocImportacaoAdicao.py +0 -0
  21. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeDocRef.py +0 -0
  22. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeDuplicata.py +0 -0
  23. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeEnvioXML.py +0 -0
  24. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeEnvolvido.py +0 -0
  25. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeExportacao.py +0 -0
  26. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeFatura.py +0 -0
  27. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeImposto.py +0 -0
  28. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeIntermediadorTransacao.py +0 -0
  29. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeItem.py +0 -0
  30. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeItemDadosCombustivel.py +0 -0
  31. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeItemExportacao.py +0 -0
  32. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeItemOrigemCombustivel.py +0 -0
  33. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeObservacao.py +0 -0
  34. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeObservacaoItem.py +0 -0
  35. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeOrigem.py +0 -0
  36. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFePagamento.py +0 -0
  37. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeProcReferenciado.py +0 -0
  38. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeTransporte.py +0 -0
  39. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeVeiculo.py +0 -0
  40. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/NFeVolume.py +0 -0
  41. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/models/__init__.py +0 -0
  42. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/utils/__init__.py +0 -0
  43. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/inovai/utils/util.py +0 -0
  44. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/ipiranga_inovai_project_lib.egg-info/SOURCES.txt +0 -0
  45. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/ipiranga_inovai_project_lib.egg-info/dependency_links.txt +0 -0
  46. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/ipiranga_inovai_project_lib.egg-info/top_level.txt +0 -0
  47. {ipiranga_inovai_project_lib-5.8 → ipiranga-inovai-project-lib-5.9}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: ipiranga-inovai-project-lib
3
- Version: 5.8
3
+ Version: 5.9
4
4
  Summary: Projeto criado para importação genérica de entidades
5
5
  Home-page: https://gitlab.ipirangacloud.com/clayton.monteiro.ext/ipiranga-inovai-project-lib
6
6
  Author: Clayton Sandes Monteiro
@@ -11,12 +11,3 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: License :: OSI Approved :: MIT License
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Dynamic: author
15
- Dynamic: author-email
16
- Dynamic: classifier
17
- Dynamic: description-content-type
18
- Dynamic: home-page
19
- Dynamic: keywords
20
- Dynamic: license
21
- Dynamic: license-file
22
- Dynamic: summary
@@ -0,0 +1,284 @@
1
+ class NFeImpostoRetido:
2
+ tipo: str
3
+ aliquota: float
4
+ anoCompetencia: float
5
+ codDarf: str
6
+ codReceita: str
7
+ codTributo: str
8
+ dataFatoGerador: str
9
+ dataFimCompetencia: str
10
+ dataIniCompetencia: str
11
+ dataPagamento: str
12
+ dataVencto: str
13
+ espTributo: str
14
+ mesCompetencia: float
15
+ numAp: str
16
+ observacao: str
17
+ valorBruto: float
18
+ valorDedINSSTerceiro: float
19
+ valorIRRetido: float
20
+ codOperacao: str
21
+ vlrDeducao: float
22
+ indTipoQuitacao: str
23
+ vlrPrevPrivada: str
24
+ item: int
25
+ vlrPensAliment: float
26
+ vlrSalarioFam: float
27
+ vlrAposentIsenta: float
28
+ vlrAjudaCusto: float
29
+ vlrPensInvalid: float
30
+ vlrLucroPj: float
31
+ vlrOutrosSocio: float
32
+ vlrOutrosDirf: float
33
+ vlrDedDepTerc: float
34
+ vlrOutrosTribExcl: float
35
+ vlrSalario13: float
36
+ vlrTributo13: float
37
+ vlrVoluntarioCopa: float
38
+ vlrVoluntarioCopa13: float
39
+ vlrBolsaMedicoResid: float
40
+ vlrBolsaMedicoResid13: float
41
+ vlrDepJud: float
42
+ vlrPgTitular: float
43
+ vlrFapi: float
44
+ vlrFunpresp: float
45
+ vlrContrib: float
46
+ valorDeducaoIrExigSuspenso: float
47
+ percentualScp: float
48
+ vlrAposentIsenta13: float
49
+ indNatRec: str
50
+ indFisJur: str
51
+ indCondPjDecl: str
52
+ vlrJurosMora: float
53
+ vlrResgPrevCompl: float
54
+ vlrRendSRetIr: float
55
+ codServicoNarurezaRendimento: str
56
+ dataEscrituracaoContabil: str
57
+
58
+ # campos para as taxas específicas (CSLL, PIS, COFINS, IRRF)
59
+ valorTributo: float
60
+ valorBaseExigSuspensa: float
61
+ valorRetencaoNefeIrrf: float
62
+ valorDepositoJudicial: float
63
+
64
+ def __init__(self, **json):
65
+ if json:
66
+ for key, typeProp in self.__class__.__dict__['__annotations__'].items():
67
+ # str, float, bool, int
68
+ class_name = str(typeProp).split("'")[1].split(".")[-1]
69
+
70
+ if key in json:
71
+ if isinstance(typeProp, list):
72
+ cls = globals()[class_name]
73
+ items = []
74
+ for item_data in json[key]:
75
+ item = cls(**item_data)
76
+ items.append(item)
77
+ setattr(self, key, items)
78
+ elif class_name not in ('str', 'int', 'float', 'bool'):
79
+ cls = globals()[class_name]
80
+ instance = cls(**json[key])
81
+ setattr(self, key, instance)
82
+ else:
83
+ setattr(self, key, str(json[key]))
84
+ else:
85
+ if isinstance(typeProp, list):
86
+ # cls = globals()[class_name]
87
+ items = []
88
+ setattr(self, key, items)
89
+ elif class_name not in ('str', 'int', 'float', 'bool'):
90
+ cls = globals()[class_name]
91
+ instance = cls()
92
+ setattr(self, key, instance)
93
+ else:
94
+ setattr(self, key, '')
95
+ else:
96
+ for key, typeProp in self.__class__.__dict__['__annotations__'].items():
97
+ class_name = str(typeProp).split("'")[1].split(".")[-1]
98
+ if isinstance(typeProp, list):
99
+ # cls = globals()[class_name]
100
+ items = []
101
+ setattr(self, key, items)
102
+ elif class_name not in ('str', 'int', 'float', 'bool'):
103
+ cls = globals()[class_name]
104
+ instance = cls()
105
+ setattr(self, key, instance)
106
+ else:
107
+ setattr(self, key, '')
108
+
109
+ def get_aliquota(self):
110
+ return self.aliquota
111
+
112
+ def get_anoCompetencia(self):
113
+ return self.anoCompetencia
114
+
115
+ def get_codDarf(self):
116
+ return self.codDarf
117
+
118
+ def get_codReceita(self):
119
+ return self.codReceita
120
+
121
+ def get_codTributo(self):
122
+ return self.codTributo
123
+
124
+ def get_dataFatoGerador(self):
125
+ return self.dataFatoGerador
126
+
127
+ def get_dataFimCompetencia(self):
128
+ return self.dataFimCompetencia
129
+
130
+ def get_dataIniCompetencia(self):
131
+ return self.dataIniCompetencia
132
+
133
+ def get_dataPagamento(self):
134
+ return self.dataPagamento
135
+
136
+ def get_dataVencto(self):
137
+ return self.dataVencto
138
+
139
+ def get_espTributo(self):
140
+ return self.espTributo
141
+
142
+ def get_mesCompetencia(self):
143
+ return self.mesCompetencia
144
+
145
+ def get_numAp(self):
146
+ return self.numAp
147
+
148
+ def get_observacao(self):
149
+ return self.observacao
150
+
151
+ def get_valorBruto(self):
152
+ return self.valorBruto
153
+
154
+ def get_valorDedINSSTerceiro(self):
155
+ return self.valorDedINSSTerceiro
156
+
157
+ def get_valorIRRetido(self):
158
+ return self.valorIRRetido
159
+
160
+ def get_codOperacao(self):
161
+ return self.codOperacao
162
+
163
+ def get_vlrDeducao(self):
164
+ return self.vlrDeducao
165
+
166
+ def get_indTipoQuitacao(self):
167
+ return self.indTipoQuitacao
168
+ def get_tipo(self):
169
+ return self.tipo
170
+
171
+ def get_vlrPrevPrivada(self):
172
+ return self.vlrPrevPrivada
173
+
174
+ def get_item(self) -> int:
175
+ return self.item
176
+
177
+ def get_vlrPensAliment(self) -> float:
178
+ return self.vlrPensAliment
179
+
180
+ def get_vlrSalarioFam(self) -> float:
181
+ return self.vlrSalarioFam
182
+
183
+ def get_vlrAposentIsenta(self) -> float:
184
+ return self.vlrAposentIsenta
185
+
186
+ def get_vlrAjudaCusto(self) -> float:
187
+ return self.vlrAjudaCusto
188
+
189
+ def get_vlrPensInvalid(self) -> float:
190
+ return self.vlrPensInvalid
191
+
192
+ def get_vlrLucroPj(self) -> float:
193
+ return self.vlrLucroPj
194
+
195
+ def get_vlrOutrosSocio(self) -> float:
196
+ return self.vlrOutrosSocio
197
+
198
+ def get_vlrOutrosDirf(self) -> float:
199
+ return self.vlrOutrosDirf
200
+
201
+ def get_vlrDedDepTerc(self) -> float:
202
+ return self.vlrDedDepTerc
203
+
204
+ def get_vlrOutrosTribExcl(self) -> float:
205
+ return self.vlrOutrosTribExcl
206
+
207
+ def get_vlrSalario13(self) -> float:
208
+ return self.vlrSalario13
209
+
210
+ def get_vlrTributo13(self) -> float:
211
+ return self.vlrTributo13
212
+
213
+ def get_vlrVoluntarioCopa(self) -> float:
214
+ return self.vlrVoluntarioCopa
215
+
216
+ def get_vlrVoluntarioCopa13(self) -> float:
217
+ return self.vlrVoluntarioCopa13
218
+
219
+ def get_vlrBolsaMedicoResid(self) -> float:
220
+ return self.vlrBolsaMedicoResid
221
+
222
+ def get_vlrBolsaMedicoResid13(self) -> float:
223
+ return self.vlrBolsaMedicoResid13
224
+
225
+ def get_vlrDepJud(self) -> float:
226
+ return self.vlrDepJud
227
+
228
+ def get_vlrPgTitular(self) -> float:
229
+ return self.vlrPgTitular
230
+
231
+ def get_vlrFapi(self) -> float:
232
+ return self.vlrFapi
233
+
234
+ def get_vlrFunpresp(self) -> float:
235
+ return self.vlrFunpresp
236
+
237
+ def get_vlrContrib(self) -> float:
238
+ return self.vlrContrib
239
+
240
+ def get_valorDeducaoIrExigSuspenso(self) -> float:
241
+ return self.valorDeducaoIrExigSuspenso
242
+
243
+ def get_percentualScp(self) -> float:
244
+ return self.percentualScp
245
+
246
+ def get_vlrAposentIsenta13(self) -> float:
247
+ return self.vlrAposentIsenta13
248
+
249
+ def get_indNatRec(self) -> str:
250
+ return self.indNatRec
251
+
252
+ def get_indFisJur(self) -> str:
253
+ return self.indFisJur
254
+
255
+ def get_indCondPjDecl(self) -> str:
256
+ return self.indCondPjDecl
257
+
258
+ def get_vlrJurosMora(self) -> float:
259
+ return self.vlrJurosMora
260
+
261
+ def get_vlrResgPrevCompl(self) -> float:
262
+ return self.vlrResgPrevCompl
263
+
264
+ def get_vlrRendSRetIr(self) -> float:
265
+ return self.vlrRendSRetIr
266
+
267
+ def get_codServicoNarurezaRendimento(self) -> str:
268
+ return self.codServicoNarurezaRendimento
269
+
270
+ def get_dataEscrituracaoContabil(self) -> str:
271
+ return self.dataEscrituracaoContabil
272
+
273
+ # getters para taxas específicas
274
+ def get_valorTributo(self) -> float:
275
+ return self.valorTributo
276
+
277
+ def get_valorBaseExigSuspensa(self) -> float:
278
+ return self.valorBaseExigSuspensa
279
+
280
+ def get_valorRetencaoNefeIrrf(self) -> float:
281
+ return self.valorRetencaoNefeIrrf
282
+
283
+ def get_valorDepositoJudicial(self) -> float:
284
+ return self.valorDepositoJudicial
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.1
2
2
  Name: ipiranga-inovai-project-lib
3
- Version: 5.8
3
+ Version: 5.9
4
4
  Summary: Projeto criado para importação genérica de entidades
5
5
  Home-page: https://gitlab.ipirangacloud.com/clayton.monteiro.ext/ipiranga-inovai-project-lib
6
6
  Author: Clayton Sandes Monteiro
@@ -11,12 +11,3 @@ Classifier: Programming Language :: Python :: 3
11
11
  Classifier: License :: OSI Approved :: MIT License
12
12
  Description-Content-Type: text/markdown
13
13
  License-File: LICENSE
14
- Dynamic: author
15
- Dynamic: author-email
16
- Dynamic: classifier
17
- Dynamic: description-content-type
18
- Dynamic: home-page
19
- Dynamic: keywords
20
- Dynamic: license
21
- Dynamic: license-file
22
- Dynamic: summary
@@ -2,7 +2,7 @@ from setuptools import setup, find_packages
2
2
 
3
3
  setup(
4
4
  name="ipiranga-inovai-project-lib",
5
- version="5.8",
5
+ version="5.9",
6
6
  packages=find_packages(),
7
7
  description="Projeto criado para importação genérica de entidades",
8
8
  long_description=open('README.md').read(),
@@ -1,114 +0,0 @@
1
- class NFeImpostoRetido:
2
- aliquota: float
3
- anoCompetencia: float
4
- codDarf: str
5
- codReceita: str
6
- codTributo: str
7
- dataFatoGerador: str
8
- dataFimCompetencia: str
9
- dataIniCompetencia: str
10
- dataPagamento: str
11
- dataVencto: str
12
- espTributo: str
13
- mesCompetencia: float
14
- numAp: str
15
- observacao: str
16
- valorBruto: float
17
- valorDedINSSTerceiro: float
18
- valorIRRetido: float
19
-
20
- def __init__(self, **json):
21
- if json:
22
- for key, typeProp in self.__class__.__dict__['__annotations__'].items():
23
- # str, float, bool, int
24
- class_name = str(typeProp).split("'")[1].split(".")[-1]
25
-
26
- if key in json:
27
- if isinstance(typeProp, list):
28
- cls = globals()[class_name]
29
- items = []
30
- for item_data in json[key]:
31
- item = cls(**item_data)
32
- items.append(item)
33
- setattr(self, key, items)
34
- elif class_name not in ('str', 'int', 'float', 'bool'):
35
- cls = globals()[class_name]
36
- instance = cls(**json[key])
37
- setattr(self, key, instance)
38
- else:
39
- setattr(self, key, str(json[key]))
40
- else:
41
- if isinstance(typeProp, list):
42
- # cls = globals()[class_name]
43
- items = []
44
- setattr(self, key, items)
45
- elif class_name not in ('str', 'int', 'float', 'bool'):
46
- cls = globals()[class_name]
47
- instance = cls()
48
- setattr(self, key, instance)
49
- else:
50
- setattr(self, key, '')
51
- else:
52
- for key, typeProp in self.__class__.__dict__['__annotations__'].items():
53
- class_name = str(typeProp).split("'")[1].split(".")[-1]
54
- if isinstance(typeProp, list):
55
- # cls = globals()[class_name]
56
- items = []
57
- setattr(self, key, items)
58
- elif class_name not in ('str', 'int', 'float', 'bool'):
59
- cls = globals()[class_name]
60
- instance = cls()
61
- setattr(self, key, instance)
62
- else:
63
- setattr(self, key, '')
64
-
65
- def get_aliquota(self):
66
- return self.aliquota
67
-
68
- def get_anoCompetencia(self):
69
- return self.anoCompetencia
70
-
71
- def get_codDarf(self):
72
- return self.codDarf
73
-
74
- def get_codReceita(self):
75
- return self.codReceita
76
-
77
- def get_codTributo(self):
78
- return self.codTributo
79
-
80
- def get_dataFatoGerador(self):
81
- return self.dataFatoGerador
82
-
83
- def get_dataFimCompetencia(self):
84
- return self.dataFimCompetencia
85
-
86
- def get_dataIniCompetencia(self):
87
- return self.dataIniCompetencia
88
-
89
- def get_dataPagamento(self):
90
- return self.dataPagamento
91
-
92
- def get_dataVencto(self):
93
- return self.dataVencto
94
-
95
- def get_espTributo(self):
96
- return self.espTributo
97
-
98
- def get_mesCompetencia(self):
99
- return self.mesCompetencia
100
-
101
- def get_numAp(self):
102
- return self.numAp
103
-
104
- def get_observacao(self):
105
- return self.observacao
106
-
107
- def get_valorBruto(self):
108
- return self.valorBruto
109
-
110
- def get_valorDedINSSTerceiro(self):
111
- return self.valorDedINSSTerceiro
112
-
113
- def get_valorIRRetido(self):
114
- return self.valorIRRetido