Comparison
pdfrw vs pdfrw2 vs pikepdf vs PyPDF4
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 9 years ago).
$
pip install pdfrwPDF file reader/writer library
Likely abandoned. No release or commit for years (last release over 5 years ago).
$
pip install pdfrw2Read, write, repair, and transform PDFs in Python, powered by qpdf
Actively maintained. Last release 6 days ago, commits in 22 of the last 26 weeks. A safe choice.
$
pip install pikepdfPDF toolkit
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install pypdf4In short
- pdfrw looks abandoned: avoid it for new projects.
- pdfrw2 looks abandoned: avoid it for new projects.
- PyPDF4 looks abandoned: avoid it for new projects.
- pikepdf is the most used: 15.2M downloads a month, 4.3× more than pdfrw.
- pikepdf also has the best Pythie’s Index (85).
- pikepdf is growing fastest: downloads +30% over the last month.
- Safe default for a new project: pikepdf.
Side by side
| Metric | pdfrw | pdfrw2 | pikepdf | PyPDF4 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 14 | Pythie’s Index: 20 | Pythie’s Index: 85 | Pythie’s Index: 19 |
| Verdict | Likely abandoned | Likely abandoned | Actively maintained | Likely abandoned |
| Downloads / month | 3.5M | 298.6K | 15.2M | 106.7K |
| Downloads, month over month | -2% | -5% | +30% | -1% |
| GitHub stars | 1.9K | 35 | 2.8K | – |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 74 | 1 | 245 | 20 |
| Last release | Sep 18, 2017 | Nov 30, 2021 | Nov 26, 2026 | Aug 7, 2018 |
| Releases, 12 months | 0 | 0 | 27 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 22 / 26 | – |
| Recent contributors | 17 | 13 | 4 | – |
| First release | Sep 2012 | Nov 2021 | Oct 2017 | Aug 2018 |
| Python versions | 3.3 – 3.6 | 3.6 – 3.9 | – | – |
| License | MIT | MIT | MPL-2.0 | non-standard |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.