Skip to main content

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)

Release files for erpbrasil.assinatura 1.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for erpbrasil.assinatura 1.8.0
File Size Uploaded
erpbrasil_assinatura-1.8.0.tar.gz 80.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for erpbrasil.assinatura 1.8.0
File Interpreter ABI Platform
erpbrasil_assinatura-1.8.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 91.2 kB

Release files / erpbrasil_assinatura-1.8.0.tar.gz

Download URL erpbrasil_assinatura-1.8.0.tar.gz
Size 80.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e30719110c98eecbe2f33e1e70fb7b7192113b0cd8927b479b3afdb1cdecb941
BLAKE2b-256 checksum
How to use checksums
43c966ae9c0fb9be1cde419d73eb307f3efeada946bf96d473430ea26a7e67bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.13

Release files / erpbrasil_assinatura-1.8.0-py2.py3-none-any.whl

Download URL erpbrasil_assinatura-1.8.0-py2.py3-none-any.whl
Size 11.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4a556eb31be1ff3ae9a5fdd52a2c11878e00a49cbb0993c16455a9be45fa4a19
BLAKE2b-256 checksum
How to use checksums
62436d649ab85e686155b769e203eb39a83bfb880255cd307f699e825aa6eb80
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.13

Release history Release notifications | RSS feed

This release

1.8.0 This release

2 release files

1.7.0

3 release files

1.6.0

3 release files

1.5.0

2 release files

1.4.0

3 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

0.6.0

2 release files

0.5.2

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

1 release file

0.0.10

1 release file

0.0.9

1 release file

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page