# pyhanko

> Tools for stamping and signing PDF files

- **URL**: https://www.freshcrate.ai/projects/pyhanko
- **Author**: pypi
- **Category**: Developer Tools
- **Latest version**: `master@2026-06-03` (2026-06-03)
- **License**: Unknown
- **Source**: https://github.com/MatthiasValvekens/pyHanko
- **Homepage**: https://pypi.org/project/pyHanko/
- **Language**: Python
- **GitHub**: 711 stars, 101 forks
- **Registry**: pypi (`pyhanko`)
- **Tags**: `digital-signature`, `pades`, `pdf`, `pkcs11`, `pypi`, `signature`

## Description

![Codecov](https://img.shields.io/codecov/c/github/MatthiasValvekens/pyHanko)
![pypi](https://img.shields.io/pypi/v/pyHanko.svg)


``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](https://docs.pyhanko.eu/en/latest/)
and includes information on CLI usage, library usage, and API reference documentation derived from
inline docstrings.

### Installing

PyHanko is hosted on [PyPI](https://pypi.org/project/pyHanko/),
and can be installed using `pip`:

```bash
pip install 'pyHanko[pkcs11,image-support,opentype,qr]'
```

Depending on your shell, you might have to leave off the quotes:

```bash
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.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `master@2026-06-03` | 2026-06-03 | High | Latest activity on master branch |
| `0.34.1` | 2026-04-21 | Low | Imported from PyPI (0.34.1) |
| `pyhanko-certvalidator/v0.30.2` | 2026-03-27 | Medium | The release artifacts have been published to [PyPI](https://pypi.org/project/pyhanko-certvalidator/0.30.2).  ## Change log  The release notes for the 0.30.2 release are available [on the Release History page](https://docs.pyhanko.eu/en/latest/changelog.html#certvalidator-release-0.30.2) |
| `pyhanko-cli/v0.3.1` | 2026-03-08 | Low | The release artifacts have been published to [PyPI](https://pypi.org/project/pyhanko-cli/0.3.1). Documentation is available on [ReadTheDocs](https://docs.pyhanko.eu/).  ## Change log  The release notes for the 0.3.1 release are available [on the Release History page](https://docs.pyhanko.eu/en/latest/changelog.html#cli-release-0.3.1) |
| `pyhanko-certvalidator/v0.30.1` | 2026-03-08 | Low | The release artifacts have been published to [PyPI](https://pypi.org/project/pyhanko-certvalidator/0.30.1).  ## Change log  The release notes for the 0.30.1 release are available [on the Release History page](https://docs.pyhanko.eu/en/latest/changelog.html#certvalidator-release-0.30.1) |
| `v0.34.1` | 2026-03-08 | Low | The release artifacts have been published to [PyPI](https://pypi.org/project/pyHanko/0.34.1). Documentation is available on [ReadTheDocs](https://docs.pyhanko.eu/en/v0.34.1/).  ## Change log  The release notes for the 0.34.1 release are available [on the Release History page](https://docs.pyhanko.eu/en/v0.34.1/changelog.html#release-0.34.1) |
| `pyhanko-cli/v0.3.0` | 2026-03-05 | Low | The release artifacts have been published to [PyPI](https://pypi.org/project/pyhanko-cli/0.3.0). Documentation is available on [ReadTheDocs](https://docs.pyhanko.eu/).  ## Change log  The release notes for the 0.3.0 release are available [on the Release History page](https://docs.pyhanko.eu/en/latest/changelog.html#cli-release-0.3.0) |
| `v0.34.0` | 2026-03-05 | Low | The release artifacts have been published to [PyPI](https://pypi.org/project/pyHanko/0.34.0). Documentation is available on [ReadTheDocs](https://docs.pyhanko.eu/en/v0.34.0/).  ## Change log  The release notes for the 0.34.0 release are available [on the Release History page](https://docs.pyhanko.eu/en/v0.34.0/changelog.html#release-0.34.0) |
| `pyhanko-certvalidator/v0.30.0` | 2026-03-05 | Low | The release artifacts have been published to [PyPI](https://pypi.org/project/pyhanko-certvalidator/0.30.0).  ## Change log  The release notes for the 0.30.0 release are available [on the Release History page](https://docs.pyhanko.eu/en/latest/changelog.html#certvalidator-release-0.30.0) |
| `v0.33.0` | 2026-02-08 | Low | The release artifacts have been published to [PyPI](https://pypi.org/project/pyHanko/0.33.0). Documentation is available on [ReadTheDocs](https://docs.pyhanko.eu/en/v0.33.0/).  ## Change log  The release notes for the 0.33.0 release are available [on the Release History page](https://docs.pyhanko.eu/en/v0.33.0/changelog.html#release-0.33.0) |

## Citation

- HTML: https://www.freshcrate.ai/projects/pyhanko
- Markdown: https://www.freshcrate.ai/projects/pyhanko.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/pyhanko/deps

_Generated by freshcrate.ai. Indexes pypi releases for AI-agent ecosystem packages._
