Comparison
pdfrw vs pymupdf vs PyPDF2 vs pypdfium2
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
PDF file reader/writer library
Likely abandoned. No release or commit for years (last release over 9 years ago).
pip install pdfrwA 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 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 pypdf2Python bindings to PDFium
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pypdfium2In short
- pdfrw looks abandoned: avoid it for new projects.
- pymupdf is the most used: 191.7M downloads a month.
- Maintenance is comparable: pymupdf 86, pypdfium2 85, PyPDF2 57 on Pythie’s Index.
- pymupdf is growing fastest: downloads +67% over the last month.
- Safe default for a new project: pymupdf.