Skip to content
RepoQuarry
Weekly email Suggest a project

Instead of DocuSign

pyHanko

Python library and CLI that signs, stamps, validates and encrypts PDFs with certificates, PKCS#11 tokens, timestamps and PAdES profiles.

YesRuns on my machine?
YesAllowed at work?
NoDo I have to pay for anything?
EasySetup

Library, CLI, Python, PDF signing, PAdES, Signature validation

pyHanko (785 stars, 0.37.0 on PyPI 31 Aug 2026) is a Python 3.10+ library plus a separate pyhanko-cli package. It signs PDFs you already have with your own certificate or a PKCS#11 token or smartcard, supports PAdES B-B to B-LTA, RFC 3161 timestamps and multiple signatures, and validates signatures, including against EU trusted lists. MIT licence. The author calls it beta and not yet production-ready. It has no web UI, no sending to other signers, no reminders, tracking or templates.

The facts

QuestionAnswerSourceChecked
Runs on my machine? Yes. Python library and command-line tool on your own machine github.com Checked 7 weeks ago
Code licence Open source. MIT (includes modified PyPDF2 code under its own licence) github.com Checked 7 weeks ago
Commercial use Yes. Under MIT; the author says it is beta and not yet production-ready github.com Checked 7 weeks ago
Paid services needed? None required; you supply your own certificate or token, and optionally a timestamp server github.com Checked 7 weeks ago
Hardware No hardware needs of its own; a Python library and command-line tool (3.10+) github.com Checked 4 weeks ago
Operating systems Any OS with Python 3.10+ (PyPI lists it as OS independent) pypi.org Checked 7 weeks ago
Setup effort Easy; pip install with optional extras for PKCS#11, images, fonts and the CLI github.com Checked 7 weeks ago

Each fact has its own date. Unknown means nobody has published it. We read their documentation; we didn’t install it. Running it yourself costs your hardware, electricity and setup time. Report a correction.

No licence changes since we started watching. Licence changes: follow pyHanko and we email you if its terms change.

What it replaces, job by job

Paid toolJobsHow far it goes
DocuSign
  • Does not do: Send documents for signature
  • Does not do: Signing order and reminders
  • Does not do: Audit trail and completion certificate
  • Does not do: Reusable signing templates
  • Does not do: eSignature API and embedded signing
  • Certificate-based digital signatures (PKI) partly
1 of 6 jobs. Certificate-based PDF signing and validation from code or the command line; no signing workflow for other people.

Stars over time

Steady +7 stars this week (2.3× its usual pace). Stars show attention, not quality. Where these numbers come from.

  • pyHanko
811720 2025-12-152026-12-01 Tracked daily begins 2026-10-16pyHanko, 2025-12-15: 729 stars, estimated from public star recordspyHanko, 2025-12-22: 730 stars, estimated from public star recordspyHanko, 2025-12-29: 731 stars, estimated from public star recordspyHanko, 2026-01-05: 736 stars, estimated from public star recordspyHanko, 2026-01-12: 739 stars, estimated from public star recordspyHanko, 2026-02-09: 740 stars, estimated from public star recordspyHanko, 2026-02-23: 742 stars, estimated from public star recordspyHanko, 2026-03-23: 745 stars, estimated from public star recordspyHanko, 2026-03-30: 747 stars, estimated from public star recordspyHanko, 2026-04-06: 750 stars, estimated from public star recordspyHanko, 2026-04-27: 751 stars, estimated from public star recordspyHanko, 2026-08-31: 752 stars, estimated from public star recordspyHanko, 2026-09-07: 756 stars, estimated from public star recordspyHanko, 2026-09-14: 758 stars, estimated from public star recordspyHanko, 2026-09-21: 765 stars, estimated from public star recordspyHanko, 2026-09-28: 773 stars, estimated from public star recordspyHanko, 2026-10-05: 776 stars, estimated from public star recordspyHanko, 2026-10-12: 787 stars, estimated from public star recordspyHanko, 2026-10-16: 785 stars, trackedpyHanko, 2026-10-17: 788 stars, trackedpyHanko, 2026-10-18: 788 stars, trackedpyHanko, 2026-10-19: 788 stars, trackedpyHanko, 2026-10-20: 789 stars, trackedpyHanko, 2026-10-21: 789 stars, trackedpyHanko, 2026-10-22: 789 stars, trackedpyHanko, 2026-10-23: 789 stars, trackedpyHanko, 2026-10-24: 791 stars, trackedpyHanko, 2026-10-25: 792 stars, trackedpyHanko, 2026-10-26: 792 stars, trackedpyHanko, 2026-10-27: 792 stars, trackedpyHanko, 2026-10-28: 792 stars, trackedpyHanko, 2026-10-29: 792 stars, trackedpyHanko, 2026-10-30: 792 stars, trackedpyHanko, 2026-10-31: 794 stars, trackedpyHanko, 2026-11-01: 794 stars, trackedpyHanko, 2026-11-02: 794 stars, trackedpyHanko, 2026-11-03: 794 stars, trackedpyHanko, 2026-11-04: 795 stars, trackedpyHanko, 2026-11-05: 796 stars, trackedpyHanko, 2026-11-06: 797 stars, trackedpyHanko, 2026-11-07: 797 stars, trackedpyHanko, 2026-11-08: 797 stars, trackedpyHanko, 2026-11-09: 798 stars, trackedpyHanko, 2026-11-10: 799 stars, trackedpyHanko, 2026-11-11: 799 stars, trackedpyHanko, 2026-11-12: 799 stars, trackedpyHanko, 2026-11-13: 799 stars, trackedpyHanko, 2026-11-14: 799 stars, trackedpyHanko, 2026-11-15: 799 stars, trackedpyHanko, 2026-11-16: 799 stars, trackedpyHanko, 2026-11-17: 800 stars, trackedpyHanko, 2026-11-18: 801 stars, trackedpyHanko, 2026-11-19: 801 stars, trackedpyHanko, 2026-11-20: 802 stars, trackedpyHanko, 2026-11-21: 803 stars, trackedpyHanko, 2026-11-22: 804 stars, trackedpyHanko, 2026-11-23: 804 stars, trackedpyHanko, 2026-11-24: 804 stars, trackedpyHanko, 2026-11-25: 807 stars, trackedpyHanko, 2026-11-26: 807 stars, trackedpyHanko, 2026-11-27: 807 stars, trackedpyHanko, 2026-11-28: 808 stars, trackedpyHanko, 2026-11-29: 808 stars, trackedpyHanko, 2026-11-30: 810 stars, trackedpyHanko, 2026-12-01: 811 stars, tracked
Focus a point, use arrow keys, or tap for its value.

Tracked daily since 16 Oct 2026. Dashed history is estimated (how).

Others that do the same job

Cookie preferences

Choose what we may store in your browser. You can change this any time from Cookie settings in the footer.

Essential

Security, and remembering this choice. rq-consent · 12 months

Always on