Skip to main content

Assinatura de documentos com certificados digitais A1 e A3

Project description

Manipulação de certificados digitais, A1 e A3, em Python, facilitando:

  • Assinatura de documentos PDF

  • Assinatura de documentos fiscais (XML)

Esta biblioteca faz parte do projeto: https://erpbrasil.github.io/

Documentação

https://erpbrasil.github.io/

Créditos

Esta é uma biblioteca criada atravês do esforço de das empresas:

Por favor consulte a lista de contribuidores: https://github.com/erpbrasil/erpbrasil.assinatura/graphs/contributors

Licença

  • Free software: MIT license

Windows installation

Prerequisites

  • Install swig (and add swig install folder to PATH environment variable)

Ubuntu Installation

sudo apt-get update
sudo apt-get install swig
pip install erpbrasil.assinatura

Documentation

https://erpbrasilassinatura.readthedocs.io/en/latest/

Development

To run the all tests run:

tox

Note, to combine the coverage data from all the tox environments run:

Windows

set PYTEST_ADDOPTS=--cov-append
tox

Other

PYTEST_ADDOPTS=--cov-append tox

Changelog

0.0.0 (2019-04-18)

  • First release on PyPI.

0.3.0 (2019-11-19)

  • Correção da importação da biblioteca e seu namespace

0.4.0 (2019-11-20)

  • Acesso aos dados do certificado: Proprietário e CNPJ/CPF caso exista

0.4.1 (2019-11-25)

  • Compatibilidade com python 2

  • Correção na assinatura

0.4.2 (2019-11-26)

  • Concatenar somente o elemento assinado no momento, sem mover os outros elementos de bloco. Por exemplo um lote de rps já assinados deve compor um bloco assinado, ao assinar este bloco as outras assinaturas não devem ser modificadas.

1.0.0 (2020-11-10)

  • Fim do suporte ao python2

  • Estabilização dos testes

1.2.0 (2021-05-26)

  • Assinatura da nota paulista (Infelizmente com o XMLSEC, tiramos ele em uma nova versão)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

erpbrasil.assinatura-1.7.0.tar.gz (77.3 kB view details)

Uploaded Source

Built Distributions

erpbrasil.assinatura-1.7.0-py3.7.egg (19.4 kB view details)

Uploaded Source

erpbrasil.assinatura-1.7.0-py2.py3-none-any.whl (10.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file erpbrasil.assinatura-1.7.0.tar.gz.

File metadata

  • Download URL: erpbrasil.assinatura-1.7.0.tar.gz
  • Upload date:
  • Size: 77.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.16

File hashes

Hashes for erpbrasil.assinatura-1.7.0.tar.gz
Algorithm Hash digest
SHA256 ec109b12a5e768085cb1122fc15400667c94353a9a026f94a29516ca936cde29
MD5 a1d11d2c1f60a6723c092d37ffbae491
BLAKE2b-256 4b7105458a15fdd29cbcbde05341c5961fd9b04573e68bbe3886d92c042c839a

See more details on using hashes here.

File details

Details for the file erpbrasil.assinatura-1.7.0-py3.7.egg.

File metadata

File hashes

Hashes for erpbrasil.assinatura-1.7.0-py3.7.egg
Algorithm Hash digest
SHA256 2d0c51a945305c1b6b87dd3c13b9ea61442a1c8cce5d942ffe2f5bb9d01815ff
MD5 c5614707b2e13c69c0e2650239598a2e
BLAKE2b-256 724aaec61f59990419b5a99de0983fadf14c824351874ec55a313ed6ba4ae0e8

See more details on using hashes here.

File details

Details for the file erpbrasil.assinatura-1.7.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for erpbrasil.assinatura-1.7.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 40aeed81e7175fc4884b3c9dbfd4f152aa033cab81c8503ec4b8f11b629137a9
MD5 67137ac5c1cada515bb478e8201fc28c
BLAKE2b-256 8c2c5b64d35af73ae405f8c7caf58a74707b62a6d73759fa1f1ef7ff9bc58979

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page