pyhanko 0.34.1


pip install pyhanko

  Latest version

Released: Mar 08, 2026


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

Codecov pypi

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.

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
asn1crypto (>=1.5.1)
tzlocal (>=4.3)
pyhanko-certvalidator (<0.31,>=0.30.0)
requests (>=2.31.0)
pyyaml (>=6.0)
cryptography (>=43.0.3)
lxml (>=5.4.0)