Comparison
pdfplumber vs pymupdf vs PyPDF2 vs xberg
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Plumb a PDF for detailed information about each char, rectangle, and line.
Maintained. Last release 11 days ago, commits in 8 of the last 26 weeks. Weaker on issue handling and contributor spread.
pip install pdfplumberA 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
Maintained. Last release over 3 years ago, commits in 23 of the last 26 weeks. Weaker on recent releases and release cadence.
pip install pypdf2High-performance document intelligence library
Actively maintained. Last release today, commits in 26 of the last 26 weeks. A safe choice.
pip install xbergIn short
- pymupdf is the most used: 191.7M downloads a month, 2.5× more than pdfplumber.
- Maintenance is comparable: pymupdf 86, xberg 80, pdfplumber 59, PyPDF2 57 on Pythie’s Index.
- pymupdf is growing fastest: downloads +67% over the last month.
- xberg is the newcomer: first released Aug 2026.
- Safe default for a new project: pymupdf.
Side by side
| Metric | pdfplumber | pymupdf | PyPDF2 | xberg |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 59 | Pythie’s Index: 86 | Pythie’s Index: 57 | Pythie’s Index: 80 |
| Verdict | Maintained | Actively maintained | Maintained | Actively maintained |
| Downloads / month | 75.4M | 191.7M | 16.6M | 194.3K |
| Downloads, month over month | +43% | +67% | +17% | +11% |
| GitHub stars | 10.9K | 11.2K | 10.3K | 9.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 880 | 2K | 1.3K | 8 |
| Last release | Nov 21, 2026 | Nov 25, 2026 | Dec 31, 2022 | Dec 2, 2026 |
| Releases, 12 months | 3 | 10 | 0 | 14 |
| Weeks with commits | 8 / 26 | 26 / 26 | 23 / 26 | 26 / 26 |
| Recent contributors | 14 | 14 | 32 | 3 |
| First release | Aug 2015 | Nov 2017 | Aug 2013 | Aug 2026 |
| Python versions | 3.10 – 3.14 | – | 3.6 – 3.11 | 3.11 – 3.14 |
| License | MIT | non-standard | non-standard | MIT |
| Known vulnerabilities | None | None | 2 | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.