Comparison
pymupdf vs PyPDF4 vs pypdfium2 vs pypdftk
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 8 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 pypdfium2Python 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.
- pymupdf is the most used: 191.7M downloads a month.
- Maintenance is comparable: pymupdf 86, pypdfium2 85 on Pythie’s Index.
- pymupdf is growing fastest: downloads +67% over the last month.
- Safe default for a new project: pymupdf.
Side by side
| Metric | pymupdf | PyPDF4 | pypdfium2 | pypdftk |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 19 | Pythie’s Index: 85 | Pythie’s Index: 19 |
| Verdict | Actively maintained | Likely abandoned | Actively maintained | Likely abandoned |
| Downloads / month | 191.7M | 106.7K | 138M | 136K |
| Downloads, month over month | +67% | -1% | +59% | -54% |
| GitHub stars | 11.2K | – | 874 | 150 |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2K | 20 | 446 | 2 |
| Last release | Nov 25, 2026 | Aug 7, 2018 | Nov 9, 2026 | Apr 11, 2021 |
| Releases, 12 months | 10 | 0 | 17 | 0 |
| Weeks with commits | 26 / 26 | – | 25 / 26 | 0 / 26 |
| Recent contributors | 14 | – | 1 | 21 |
| First release | Nov 2017 | Aug 2018 | Dec 2021 | Aug 2015 |
| Python versions | – | – | – | – |
| License | non-standard | non-standard | non-standard | 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.