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

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.0.2.tar.gz (77.2 kB view details)

Uploaded Source

Built Distribution

erpbrasil.assinatura-1.0.2-py2.py3-none-any.whl (9.2 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: erpbrasil.assinatura-1.0.2.tar.gz
  • Upload date:
  • Size: 77.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.6

File hashes

Hashes for erpbrasil.assinatura-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f3a13961f812d75d5c557b2df7cb7362603f45cea03abb3a64336dbb96c904a4
MD5 9eb5d502335baae73162897c157a44bf
BLAKE2b-256 0a9d0d3363961b54987e57a933d92dd3c548b9e4d202429ec103e1cf9c9c3c1a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erpbrasil.assinatura-1.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.8.6

File hashes

Hashes for erpbrasil.assinatura-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a08f9ce7443da55e911d06a89487405ad4bf10d74a4d9832c4448f48fe7a3799
MD5 7dac7a9222e27cf55c961adb64309581
BLAKE2b-256 864fe346a1813559310c10af67ae2e318b1fe3744f35544363b9b9b056a67225

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