Comparison
PyPDF2 vs PyPDF4 vs PyPDFForm vs pypdftk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A 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 pypdf2PDF toolkit
Likely abandoned. No release or commit for years (last release over 8 years ago).
pip install pypdf4The Python library & CLI for PDF forms.
Actively maintained. Last release 4 days ago, commits in 18 of the last 26 weeks. A safe choice.
pip install pypdfformPython wrapper for PDFTK
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install pypdftkIn short
- PyPDF4 looks abandoned: avoid it for new projects.
- pypdftk looks abandoned: avoid it for new projects.
- PyPDF2 is the most used: 16.6M downloads a month, 103× more than PyPDFForm.
- PyPDFForm is better maintained: Pythie’s Index 84 against 57.
- PyPDFForm is growing fastest: downloads +25% over the last month.
Side by side
| Metric | PyPDF2 | PyPDF4 | PyPDFForm | pypdftk |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 57 | Pythie’s Index: 19 | Pythie’s Index: 84 | Pythie’s Index: 19 |
| Verdict | Maintained | Likely abandoned | Actively maintained | Likely abandoned |
| Downloads / month | 16.6M | 106.7K | 161.2K | 136K |
| Downloads, month over month | +17% | -1% | +25% | -54% |
| GitHub stars | 10.3K | – | 1.2K | 150 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1.3K | 20 | 1 | 2 |
| Last release | Dec 31, 2022 | Aug 7, 2018 | Nov 28, 2026 | Apr 11, 2021 |
| Releases, 12 months | 0 | 0 | 63 | 0 |
| Weeks with commits | 23 / 26 | – | 18 / 26 | 0 / 26 |
| Recent contributors | 32 | – | 2 | 21 |
| First release | Aug 2013 | Aug 2018 | Oct 2020 | Aug 2015 |
| Python versions | 3.6 – 3.11 | – | 3.11 – 3.15 | – |
| License | non-standard | non-standard | MIT | non-standard |
| Known vulnerabilities | 2 | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.