Comparison
pymupdf vs pypdf vs pypdfium2 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 7 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
Actively maintained. Last release 6 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install pypdfPython bindings to PDFium
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pypdfium2extract text from any document. no muss. no fuss.
Maintained. Last release 3 months ago, commits in 5 of the last 26 weeks. Weaker on commit activity and release cadence.
pip install textractIn short
- pypdf is the most used: 226.5M downloads a month.
- Maintenance is comparable: pypdf 93, pymupdf 86, pypdfium2 85, textract 64 on Pythie’s Index.
- pymupdf is growing fastest: downloads +67% over the last month.
- Safe default for a new project: pypdf.
Side by side
| Metric | pymupdf | pypdf | pypdfium2 | textract |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 86 | Pythie’s Index: 93 | Pythie’s Index: 85 | Pythie’s Index: 64 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 191.7M | 226.5M | 138M | 399.4K |
| Downloads, month over month | +67% | +33% | +59% | +27% |
| GitHub stars | 11.2K | 10.3K | 874 | 4.7K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 2K | 2K | 446 | 28 |
| Last release | Nov 25, 2026 | Nov 26, 2026 | Nov 9, 2026 | Sep 1, 2026 |
| Releases, 12 months | 10 | 50 | 17 | 2 |
| Weeks with commits | 26 / 26 | 23 / 26 | 25 / 26 | 5 / 26 |
| Recent contributors | 14 | 32 | 1 | 18 |
| First release | Nov 2017 | May 2014 | Dec 2021 | Jul 2014 |
| Python versions | – | 3.10 – 3.15 | – | – |
| License | non-standard | BSD-3-Clause | non-standard | MIT |
| 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.