Comparison
pymupdf vs PyPDF4 vs pypdfium2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
Actively maintained. Last release 7 days ago, commits in 26 of the last 26 weeks. A safe choice.
$
pip install pymupdfPDF toolkit
Likely abandoned. No release or commit for years (last release over 8 years ago).
$
pip install pypdf4Python bindings to PDFium
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install pypdfium2In short
- PyPDF4 looks abandoned: avoid it for new projects.
- pymupdf is the most used: 188.1M downloads a month.
- Maintenance is comparable: pymupdf 86, pypdfium2 85 on Pythie’s Index.
- pymupdf is growing fastest: downloads +63% over the last month.
- Safe default for a new project: pymupdf.