Comparison
pdfminer vs pdfreader vs pymupdf vs PyPDF2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
PDF parser and analyzer
Archived. The repository is read-only: no more fixes or releases will come.
pip install pdfminerPythonic 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 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
- pdfminer is archived: avoid it for new projects.
- pdfreader is slowing down (last release over 2 years ago): fine for existing code, risky for a new project.
- pymupdf is the most used: 188.1M downloads a month, 12× more than PyPDF2.
- pymupdf also has the best Pythie’s Index (86).
- pymupdf is growing fastest: downloads +63% over the last month.
- Safe default for a new project: pymupdf.
Side by side
| Metric | pdfminer | pdfreader | pymupdf | PyPDF2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 3 | Pythie’s Index: 18 | Pythie’s Index: 86 | Pythie’s Index: 57 |
| Verdict | Archived | Slowing down | Actively maintained | Maintained |
| Downloads / month | 282.9K | 190.6K | 188.1M | 16M |
| Downloads, month over month | +11% | +41% | +63% | +12% |
| GitHub stars | 5.3K | 124 | 11.2K | 10.3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 69 | 7 | 2K | 1.3K |
| Last release | Nov 25, 2019 | May 3, 2024 | Nov 25, 2026 | Dec 31, 2022 |
| Releases, 12 months | 0 | 0 | 10 | 0 |
| Weeks with commits | 0 / 26 | 0 / 26 | 26 / 26 | 23 / 26 |
| Recent contributors | 14 | 5 | 14 | 32 |
| First release | Oct 2009 | Nov 2019 | Nov 2017 | Aug 2013 |
| Python versions | – | 3.6 – 3.7 | – | 3.6 – 3.11 |
| License | MIT | MIT | non-standard | non-standard |
| Known vulnerabilities | None | None | None | 2 |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.