Comparison
pikepdf vs PyPDF2 vs pypdftk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Read, write, repair, and transform PDFs in Python, powered by qpdf
Actively maintained. Last release 5 days ago, commits in 21 of the last 26 weeks. A safe choice.
$
pip install pikepdfA pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
Maintained. Last release over 3 years ago, commits in 23 of the last 26 weeks. Weaker on recent releases and release cadence.
$
pip install pypdf2Python wrapper for PDFTK
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install pypdftkIn short
- pypdftk looks abandoned: avoid it for new projects.
- PyPDF2 is the most used: 16M downloads a month.
- pikepdf is better maintained: Pythie’s Index 85 against 57.
- pikepdf is growing fastest: downloads +26% over the last month.
Side by side
| Metric | pikepdf | PyPDF2 | pypdftk |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 57 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Maintained | Likely abandoned |
| Downloads / month | 14.8M | 16M | 130.9K |
| Downloads, month over month | +26% | +12% | -57% |
| GitHub stars | 2.8K | 10.3K | 150 |
| Stars, last 7 days | – | – | – |
| Direct dependents | 245 | 1.3K | 2 |
| Last release | Nov 26, 2026 | Dec 31, 2022 | Apr 11, 2021 |
| Releases, 12 months | 27 | 0 | 0 |
| Weeks with commits | 21 / 26 | 23 / 26 | 0 / 26 |
| Recent contributors | 4 | 32 | 21 |
| First release | Oct 2017 | Aug 2013 | Aug 2015 |
| Python versions | – | 3.6 – 3.11 | – |
| License | MPL-2.0 | non-standard | non-standard |
| Known vulnerabilities | None | 2 | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.