The lack of open-source CLI tooling to handle digitally signing and stamping PDF files was bothering me, so I went ahead and rolled my own.
Installing
PyHanko is hosted on PyPI,
and can be installed using pip:
pip install 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.
Optional features
Optional dependencies are managed at the level of the pyhanko package.
pip install 'pyHanko[pkcs11,image-support,opentype,qr]' pyhanko-cli
Depending on your shell, you might have to leave off the quotes:
pip install pyHanko[pkcs11,image-support,opentype,qr] pyhanko-cli
This pip invocation includes the optional dependencies required for PKCS#11, image handling,
OpenType/TrueType support and QR code generation.
Metadata
Release files for pyhanko-cli 0.6.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 | Actions |
|---|---|---|---|---|
| pyhanko_cli-0.6.0.tar.gz | 7.5 MB | With provenance | Details for pyhanko_cli-0.6.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyhanko_cli-0.6.0-py3-none-any.whl | Python 3 | none | any | Details for pyhanko_cli-0.6.0-py3-none-any.whl |
Total release size: 7.5 MB
Release files / pyhanko_cli-0.6.0.tar.gz
| Download URL | pyhanko_cli-0.6.0.tar.gz |
|---|---|
| Size | 7.5 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b203ca59cba12be1a8d6bd950f8bbfd3e3964e32f7017ff090f6ca74e8deeab7
|
|
BLAKE2b-256 checksum How to use checksums |
795c52c1edc93190b70aff24d1cb499ce73f99b6e15c6899ad6042f89fcfe425
|
| 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_cli-0.6.0-py3-none-any.whl
| Download URL | pyhanko_cli-0.6.0-py3-none-any.whl |
|---|---|
| Size | 40.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b716f2b8d492824cd15afc1c569ed91603b7b4fc1898a0d446c83159a17db35e
|
|
BLAKE2b-256 checksum How to use checksums |
22abc3e61df505782dc3d2d121d0ffc6ac40dc4307dbb0682223b98805611372
|
| 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-cli 0.6.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
Both files in this release have been uploaded with provenance metadata.
Attestation for pyhanko_cli-0.6.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.