-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4c03b2d
commit bf24599
Showing
4 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
def get_version(): | ||
return '0.1' | ||
|
||
__version__ = get_version() | ||
__author__ = 'Junior Tada' | ||
__license__ = 'GNU General Public License v3.0' | ||
__url__ = 'https://github.com/juniortada/PyeSocial' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Author: Junior Tada | ||
# Date: 30/11/2017 | ||
|
||
class Serializacao(Object): | ||
|
||
def __init__(self): | ||
pass | ||
|
||
def exportar(self): | ||
pass | ||
|
||
def importar(self, xml): | ||
""" Recebe um xml e transforma em um objeto python. | ||
@param xml - String de um arquivo xml. | ||
""" | ||
pass | ||
|
||
def _serializar_empregador(self): | ||
pass | ||
|
||
def _serializar_transmissor(self): | ||
pass | ||
|
||
def _serializar_evento(self): | ||
pass | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
# Author: Junior Tada | ||
# Date: 30/11/2017 | ||
|
||
NAMESPACE_ESOCIAL = 'http://www.esocial.gov.br/schema/evt/' | ||
NAMESPACE_SIG = 'http://www.w3.org/2000/09/xmldsig#' | ||
NAMESPACE_SOAP = 'http://www.w3.org/2003/05/soap-envelope' | ||
NAMESPACE_XSI = 'http://www.w3.org/2001/XMLSchema-instance' | ||
NAMESPACE_XSD = 'http://www.w3.org/2001/XMLSchema' | ||
|
||
VERSAO_PADRA = '' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Author: Junior Tada | ||
# Date: 30/11/2017 | ||
|
||
ESOCIAL = { | ||
'ENVIO':'esocial.gov.br/servicos/empregador/enviarloteeventos/WsEnviarLoteEventos.svc', | ||
'CONSULTA':'esocial.gov.br/servicos/empregador/consultarloteeventos/WsConsultarLoteEventos.svc', | ||
'PRODUCAO':'https://webservices.envio.', | ||
'HOMOLOGACAO':' https://webservices.producaorestrita.' | ||
} |