Comparison
borb vs fpdf2 vs pypdf vs PyPDF2
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
Actively maintained. Last release 6 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install pypdfA 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 pypdf2In short
- pypdf is the most used: 226.5M downloads a month, 6.5× more than fpdf2.
- Maintenance is comparable: pypdf 93, fpdf2 85, borb 67, PyPDF2 57 on Pythie’s Index.
- fpdf2 is growing fastest: downloads +81% over the last month.
- Safe default for a new project: pypdf.
Side by side
| Metric | borb | fpdf2 | pypdf | PyPDF2 |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 67 | Pythie’s Index: 85 | Pythie’s Index: 93 | Pythie’s Index: 57 |
| Verdict | Maintained | Actively maintained | Actively maintained | Maintained |
| Downloads / month | 424K | 34.8M | 226.5M | 16.6M |
| Downloads, month over month | -4% | +81% | +33% | +17% |
| GitHub stars | 3.6K | 1.6K | 10.3K | 10.3K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 4 | 355 | 2K | 1.3K |
| Last release | Aug 3, 2026 | Oct 29, 2026 | Nov 26, 2026 | Dec 31, 2022 |
| Releases, 12 months | 6 | 5 | 50 | 0 |
| Weeks with commits | 7 / 26 | 25 / 26 | 23 / 26 | 23 / 26 |
| Recent contributors | 1 | 9 | 32 | 32 |
| First release | Jul 2021 | May 2017 | May 2014 | Aug 2013 |
| Python versions | 3.6 – 3.12 | 3.11 – 3.15 | 3.10 – 3.15 | 3.6 – 3.11 |
| License | AGPL-3.0-or-later | LGPL-3.0-only | BSD-3-Clause | non-standard |
| Known vulnerabilities | None | None | None | 2 |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.