Comparison
borb vs fpdf2 vs PyPDF2 vs pypdftk
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
borb is a library for reading, creating and manipulating PDF files in python.
Maintained. Last release 4 months ago, commits in 7 of the last 26 weeks. Weaker on contributor spread.
pip install borbSimple & fast PDF generation for Python
Actively maintained. Last release 5 weeks ago, commits in 25 of the last 26 weeks. A safe choice.
pip install fpdf2A 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 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.
- fpdf2 is the most used: 34.8M downloads a month, 2.1× more than PyPDF2.
- fpdf2 also has the best Pythie’s Index (85).
- fpdf2 is growing fastest: downloads +81% over the last month.
- Safe default for a new project: fpdf2.