Comparison
pdfreader vs pypdf vs PyPDF2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Pythonic API for parsing PDF files
Slowing down. Last release over 2 years ago, little activity since. Fine for existing code; think twice for a new project.
pip install pdfreaderA pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files
Actively maintained. Last release 4 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 pypdf2In short
- pdfreader is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pypdf is the most used: 216.9M downloads a month, 14× more than PyPDF2.
- pypdf also has the best Pythie’s Index (93).
- pypdf is growing fastest: downloads +29% over the last month.
- Safe default for a new project: pypdf.