Comparison
pypdf vs PyPDF4 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
Actively maintained. Last release 5 days ago, commits in 23 of the last 26 weeks. A safe choice.
$
pip install pypdfPDF toolkit
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install pypdf4Python 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.
- pypdf is the most used: 221M downloads a month, 1688× more than pypdftk.
- 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.