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.10 or later.
Metadata
Release files for pyHanko 0.38.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pyhanko-0.38.0.tar.gz | 8.0 MB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyhanko-0.38.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 MB
Release files / pyhanko-0.38.0.tar.gz
| Download URL | pyhanko-0.38.0.tar.gz |
|---|---|
| Size | 8.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
267d6d3fa460b0f0e9c5362a2d7979dccbe1e6b1f8d89ba0818dd0c45b5f300e
|
|
BLAKE2b-256 checksum How to use checksums |
5a992696181dabe7f71fea9e395d7eefcddb762b21675c34c8f4efa2954da0ce
|
| 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 Oct 17, 2026.
Transparency logRelease files / pyhanko-0.38.0-py3-none-any.whl
| Download URL | pyhanko-0.38.0-py3-none-any.whl |
|---|---|
| Size | 484.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
60abfdf6114e4ad64bb413491848af4a276231b563cb9f268e8dbfbcd47e586f
|
|
BLAKE2b-256 checksum How to use checksums |
6e183c7c3c4dd7b629da4b76ba03aed2c6103ccbf280834f30dfa3d8fe47b23b
|
| 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 Oct 17, 2026.
Transparency logSecurity for pyHanko 0.38.0
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.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for pyhanko-0.38.0.tar.gz
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 Oct 17, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.