Comparison
pymupdf vs PyPDF2 vs textract
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 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 pypdf2extract text from any document. no muss. no fuss.
Maintained. Last release 3 months ago, commits in 6 of the last 26 weeks. Weaker on release cadence.
pip install textractIn short
- 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 | pymupdf | PyPDF2 | textract |
|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 57 | Pythie’s Index: 66 |
| Verdict | Actively maintained | Maintained | Maintained |
| Downloads / month | 188.1M | 16M | 388K |
| Downloads, month over month | +63% | +12% | +21% |
| GitHub stars | 11.2K | 10.3K | 4.7K |
| Stars, last 7 days | – | – | – |
| Direct dependents | 2K | 1.3K | 28 |
| Last release | Nov 25, 2026 | Dec 31, 2022 | Sep 1, 2026 |
| Releases, 12 months | 10 | 0 | 2 |
| Weeks with commits | 26 / 26 | 23 / 26 | 6 / 26 |
| Recent contributors | 14 | 32 | 18 |
| First release | Nov 2017 | Aug 2013 | Jul 2014 |
| Python versions | – | 3.6 – 3.11 | – |
| License | non-standard | non-standard | MIT |
| Known vulnerabilities | None | 2 | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.