pyHanko0.29.1
pyHanko0.29.1
Published
Tools for stamping and signing PDF files
pip install pyhanko
Package Downloads
Authors
Project URLs
Requires Python
>=3.9
Dependencies
- asn1crypto
>=1.5.1
- tzlocal
>=4.3
- pyhanko-certvalidator
<0.28,>=0.27.0
- requests
>=2.31.0
- pyyaml
>=6.0
- cryptography
>=43.0.3
- lxml
>=5.4.0
- fonttools
>=4.33.3; extra == "opentype"
- uharfbuzz
<0.51.0,>=0.25.0; extra == "opentype"
- qrcode
>=7.3.1; extra == "qr"
- Pillow
>=7.2.0; extra == "image-support"
- python-barcode
==0.15.1; extra == "image-support"
- python-pkcs11
~=0.8.0; extra == "pkcs11"
- aiohttp
<3.13,>=3.9; extra == "async-http"
- xsdata
<26.0,>=24.4; extra == "etsi"
pyhanko
is a library for working with signatures in PDF documents.
Note: pyHanko's CLI is no longer bundled together with the library. This functionality is now
distributed separately as pyhanko-cli
.
Documentation
The documentation for pyHanko is hosted on ReadTheDocs and includes information on CLI usage, library usage, and API reference documentation derived from inline docstrings.
Installing
PyHanko is hosted on PyPI,
and can be installed using pip
:
pip install 'pyHanko[pkcs11,image-support,opentype,qr]'
Depending on your shell, you might have to leave off the quotes:
pip install pyHanko[pkcs11,image-support,opentype,qr]
This pip
invocation includes the optional dependencies required for PKCS#11, image handling,
OpenType/TrueType support and QR code generation.
PyHanko requires Python 3.9 or later.