Comparison
pikepdf vs pymupdf vs PyPDF2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Read, write, repair, and transform PDFs in Python, powered by qpdf
Actively maintained. Last release 5 days ago, commits in 21 of the last 26 weeks. A safe choice.
pip install pikepdfA high performance Python library for data extraction, analysis, conversion & manipulation of PDF (and other) documents.
Actively maintained. Last release 6 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install pymupdfA 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
- pymupdf is the most used: 188.1M downloads a month, 12× more than PyPDF2.
- Maintenance is comparable: pymupdf 86, pikepdf 85, PyPDF2 57 on Pythie’s Index.
- pymupdf is growing fastest: downloads +63% over the last month.
- Safe default for a new project: pymupdf.
Side by side
| Metric | pikepdf | pymupdf | PyPDF2 |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 85 | Pythie’s Index: 86 | Pythie’s Index: 57 |
| Verdict | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 14.8M | 188.1M | 16M |
| Downloads, month over month | +26% | +63% | +12% |
| GitHub stars | 2.8K | 11.2K | 10.3K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 245 | 2K | 1.3K |
| Last release | Nov 26, 2026 | Nov 25, 2026 | Dec 31, 2022 |
| Releases, 12 months | 27 | 10 | 0 |
| Weeks with commits | 21 / 26 | 26 / 26 | 23 / 26 |
| Recent contributors | 4 | 14 | 32 |
| First release | Oct 2017 | Nov 2017 | Aug 2013 |
| Python versions | – | – | 3.6 – 3.11 |
| License | MPL-2.0 | non-standard | non-standard |
| Known vulnerabilities | None | None | 2 |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.