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

Uploaded Source

Built Distributions

erpbrasil.assinatura-1.4.0-py3.8.egg (18.7 kB view details)

Uploaded Source

erpbrasil.assinatura-1.4.0-py2.py3-none-any.whl (10.6 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: erpbrasil.assinatura-1.4.0.tar.gz
  • Upload date:
  • Size: 80.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.12

File hashes

Hashes for erpbrasil.assinatura-1.4.0.tar.gz
Algorithm Hash digest
SHA256 a44a77474ff6b2ca990a5864110680902f3e58f077d8b79e8d8443e50f2af49e
MD5 ef0adf1a30e3522df0378be39993e8c5
BLAKE2b-256 2f138956ea86ffca6e6ee87976b4046fe47017e62399144a916d50d34a965de5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erpbrasil.assinatura-1.4.0-py3.8.egg
  • Upload date:
  • Size: 18.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.12

File hashes

Hashes for erpbrasil.assinatura-1.4.0-py3.8.egg
Algorithm Hash digest
SHA256 c2b46323d093cf00c6cfa4b79bd1bae33bd02115de0963157ab77908b3fc2e1f
MD5 856013e2974ab698000b0bdfd1f83381
BLAKE2b-256 65958cc964a93582a4264f589877598cca9cacdb4a37ffa552119882e9e8c3ba

See more details on using hashes here.

File details

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

File metadata

  • Download URL: erpbrasil.assinatura-1.4.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 10.6 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.6.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.1 CPython/3.8.12

File hashes

Hashes for erpbrasil.assinatura-1.4.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7114fc86e2f02308282deea79352db00a5e73aa62ad9058b3b59fc9cfa111095
MD5 693539bfcc243333590eea55417f630a
BLAKE2b-256 e73ebe630401a601987bdedfb1b987d2b642ac817a0356ce4688b10103e51188

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