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

Uploaded Source

Built Distributions

erpbrasil.assinatura-1.6.0-py3.8.egg (18.6 kB view details)

Uploaded Source

erpbrasil.assinatura-1.6.0-py2.py3-none-any.whl (10.5 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: erpbrasil.assinatura-1.6.0.tar.gz
  • Upload date:
  • Size: 79.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.12

File hashes

Hashes for erpbrasil.assinatura-1.6.0.tar.gz
Algorithm Hash digest
SHA256 60ccfd9ec4e07a53ae9d1af129421c41854bd756cfb766696cc1b84d56749ddf
MD5 37795468fb80836f96285895cb195165
BLAKE2b-256 51b7ce47c4c1303cf00a2fcc8a55005d6e5b172ef8a3cd2eeb1f04816ed00dd0

See more details on using hashes here.

File details

Details for the file erpbrasil.assinatura-1.6.0-py3.8.egg.

File metadata

  • Download URL: erpbrasil.assinatura-1.6.0-py3.8.egg
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.12

File hashes

Hashes for erpbrasil.assinatura-1.6.0-py3.8.egg
Algorithm Hash digest
SHA256 269e05ab749f7059108f51c851d6b85c742d90cb437c504548264d39b5641777
MD5 bb8326afbf941b6e256da8d50610b9b6
BLAKE2b-256 e4e3cd5fc8348421a381f313947acf80fdbdc7bc4881f6e4e8168e9ad1c6a3da

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erpbrasil.assinatura-1.6.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.5 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.7.1 importlib_metadata/4.12.0 pkginfo/1.8.3 requests/2.20.0 requests-toolbelt/0.9.1 tqdm/4.64.0 CPython/3.8.12

File hashes

Hashes for erpbrasil.assinatura-1.6.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a9de7cff2fea15c8d449297f0424a4b978ddd974e100766bb0db562a3b57dc6e
MD5 6b13c9072334216c1977882580da01ae
BLAKE2b-256 dbb61c9ceeca58c1eb98dfbd83906255f94ab962ec37a8b97aebbffb39814241

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