Skip to main content

Overview

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)

Metadata

Release files for erpbrasil.assinatura 1.8.1

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.1
File Size Uploaded
erpbrasil_assinatura-1.8.1.tar.gz 82.0 kB Details

Built distribution (wheel)

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

Total release size: 93.2 kB

Release files / erpbrasil_assinatura-1.8.1.tar.gz

Download URL erpbrasil_assinatura-1.8.1.tar.gz
Size 82.0 kB
Tags Source
SHA-256 checksum
How to use checksums
dd513fe4571a6e4c1ccca7f4fac1f1e0ce25c2174131dafa95b835fed0ec67a0
BLAKE2b-256 checksum
How to use checksums
b01e1bec03642e8e7031b55f12eb93744ffd964d3ed2a54a946846a41fe822e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

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

Download URL erpbrasil_assinatura-1.8.1-py2.py3-none-any.whl
Size 11.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
00d9b0698bac69635e8032f4aae4df61a2feff886d8683bd7bf4e5df091a888b
BLAKE2b-256 checksum
How to use checksums
f0e0251b04b9977bc57beab2e8e8abf38b33db356b0a727da45941e1c7927fe2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 30, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.8.1 This release

2 release files

1.8.0

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