Comparison
pikepdf vs pymupdf vs pypdfium2 vs pypdftk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Read, write, repair, and transform PDFs in Python, powered by qpdf
Actively maintained. Last release 7 days ago, commits in 22 of the last 26 weeks. A safe choice.
pip install pikepdfA 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 pymupdfPython bindings to PDFium
Actively maintained. Last release 3 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install pypdfium2Python wrapper for PDFTK
Likely abandoned. No release or commit for years (last release over 5 years ago).
pip install pypdftkIn short
- pypdftk looks abandoned: avoid it for new projects.
- pymupdf is the most used: 191.7M downloads a month.
- Maintenance is comparable: pymupdf 86, pikepdf 85, pypdfium2 85 on Pythie’s Index.
- pymupdf is growing fastest: downloads +67% over the last month.
- Safe default for a new project: pymupdf.