Comparison
pdfrw2 vs pypdf vs PyPDF2 vs pypdftk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
PDF file reader/writer library
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install pdfrw2A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
Actively maintained. Last release 6 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install pypdfA 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
- pdfrw2 looks abandoned: avoid it for new projects.
- pypdftk looks abandoned: avoid it for new projects.
- pypdf is the most used: 226.5M downloads a month, 14× more than PyPDF2.
- pypdf also has the best Pythie’s Index (93).
- pypdf is growing fastest: downloads +33% over the last month.
- Safe default for a new project: pypdf.
Side by side
| Metric | pdfrw2 | pypdf | PyPDF2 | pypdftk |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 20 | Pythie’s Index: 93 | Pythie’s Index: 57 | Pythie’s Index: 19 |
| Verdict | Likely abandoned | Actively maintained | Maintained | Likely abandoned |
| Downloads / month | 298.6K | 226.5M | 16.6M | 136K |
| Downloads, month over month | -5% | +33% | +17% | -54% |
| GitHub stars | 35 | 10.3K | 10.3K | 150 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 1 | 2K | 1.3K | 2 |
| Last release | Nov 30, 2021 | Nov 26, 2026 | Dec 31, 2022 | Apr 11, 2021 |
| Releases, 12 months | 0 | 50 | 0 | 0 |
| Weeks with commits | 0 / 26 | 23 / 26 | 23 / 26 | 0 / 26 |
| Recent contributors | 13 | 32 | 32 | 21 |
| First release | Nov 2021 | May 2014 | Aug 2013 | Aug 2015 |
| Python versions | 3.6 – 3.9 | 3.10 – 3.15 | 3.6 – 3.11 | – |
| License | MIT | BSD-3-Clause | non-standard | non-standard |
| Known vulnerabilities | None | None | 2 | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.