Skip to content

Commit

Permalink
URL dos webservices
Browse files Browse the repository at this point in the history
  • Loading branch information
juniortada committed Jan 10, 2018
1 parent 4c03b2d commit bf24599
Show file tree
Hide file tree
Showing 4 changed files with 52 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pyesocial/__init__.py
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'
26 changes: 26 additions & 0 deletions pyesocial/processamento/serializacao.py
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

10 changes: 10 additions & 0 deletions pyesocial/utils/flags.py
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 = ''
9 changes: 9 additions & 0 deletions pyesocial/utils/webservices.py
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.'
}

0 comments on commit bf24599

Please sign in to comment.