Tools for stamping and signing PDF files
Project Links
Meta
Author: Matthias Valvekens
Maintainer: Matthias Valvekens
Requires Python: >=3.10
Classifiers
Development Status
- 4 - Beta
Intended Audience
- Developers
Operating System
- OS Independent
Programming Language
- Python :: 3
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
Topic
- Security :: Cryptography
- Software Development :: Libraries :: Python Modules
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.
0.34.1
Mar 08, 2026
0.34.0
Mar 05, 2026
0.33.0
Feb 08, 2026
0.32.0
Nov 22, 2025
0.31.0
Sep 12, 2025
0.30.0
Aug 23, 2025
0.29.1
Jun 20, 2025
0.29.0
May 27, 2025
0.28.0
May 24, 2025
0.27.1
May 14, 2025
0.27.0
May 12, 2025
0.26.0
Mar 08, 2025
0.25.3
Nov 17, 2024
0.25.2
Nov 11, 2024
0.25.1
Jul 18, 2024
0.25.0
May 06, 2024
0.24.0
Apr 27, 2024
0.23.2
Mar 25, 2024
0.23.1
Mar 14, 2024
0.23.0
Mar 10, 2024
0.22.0
Mar 07, 2024
0.21.0
Nov 26, 2023
0.20.1
Sep 17, 2023
0.20.0
Jul 28, 2023
0.19.0
Jun 18, 2023
0.18.1
Apr 29, 2023
0.18.0
Apr 26, 2023
0.17.2
Mar 09, 2023
0.17.1
Mar 09, 2023
0.17.0
Jan 31, 2023
0.16.0
Dec 21, 2022
0.15.1
Oct 27, 2022
0.15.0
Oct 11, 2022
0.14.0
Sep 17, 2022
0.13.2
Jul 02, 2022
0.13.1
May 01, 2022
0.13.0
Apr 24, 2022
0.12.1
Feb 26, 2022
0.12.0
Jan 25, 2022
0.11.0
Dec 23, 2021
0.10.0
Nov 28, 2021
0.9.0
Oct 30, 2021
0.8.0
Aug 23, 2021
0.7.0
Jul 25, 2021
0.6.1
May 22, 2021
0.6.0
May 15, 2021
0.5.1
Mar 24, 2021
0.5.0
Mar 22, 2021
0.4.0
Feb 14, 2021
0.3.0
Jan 26, 2021
0.2.0
Jan 09, 2021
0.1.0
Dec 30, 2020