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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

erpbrasil_assinatura-1.8.0-py2.py3-none-any.whl (11.1 kB view details)

Uploaded Python 2Python 3

File details

Details for the file erpbrasil_assinatura-1.8.0.tar.gz.

File metadata

  • Download URL: erpbrasil_assinatura-1.8.0.tar.gz
  • Upload date:
  • Size: 80.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.13

File hashes

Hashes for erpbrasil_assinatura-1.8.0.tar.gz
Algorithm Hash digest
SHA256 e30719110c98eecbe2f33e1e70fb7b7192113b0cd8927b479b3afdb1cdecb941
MD5 87e5523134c52fe68110619c49a2bb1d
BLAKE2b-256 43c966ae9c0fb9be1cde419d73eb307f3efeada946bf96d473430ea26a7e67bc

See more details on using hashes here.

File details

Details for the file erpbrasil_assinatura-1.8.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for erpbrasil_assinatura-1.8.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 4a556eb31be1ff3ae9a5fdd52a2c11878e00a49cbb0993c16455a9be45fa4a19
MD5 90f8c16af7593dc459252cb8e19a9d7c
BLAKE2b-256 62436d649ab85e686155b769e203eb39a83bfb880255cd307f699e825aa6eb80

See more details on using hashes here.

Supported by

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