Skip to content

ramonalmeidam/python-dgii-signer

 
 

Repository files navigation

Python Dgii Signer

Pip Version Python Versions

Firmador de XML para DGII con Python.


How to prepare

pip install -r .\requirements.txt

Run tests

pytest .\tests\signer_unit_test.py

How to use

from dgii_signer import DgiiSigner

signer = DgiiSigner("/path/cert.p12", "admin")
xml_content = open("/path/invoice.xml").read()

signed_xml_content = signer.sign(xml_content)

About

Firmador de XML para DGII con Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%