Comparison
infinity-parser2 vs python-doctr vs rapidocr vs surya-ocr
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Document parsing Python package supporting PDF and image parsing using Infinity-Parser2-Pro model.
Actively maintained. Last release 3 months ago, commits in 10 of the last 26 weeks. A safe choice.
pip install infinity-parser2Document Text Recognition (docTR): deep Learning for high-performance OCR on documents.
Actively maintained. Last release 6 days ago, commits in 23 of the last 26 weeks. A safe choice.
pip install python-doctrAwesome OCR Library
Actively maintained. Last release 8 weeks ago, commits in 22 of the last 26 weeks. A safe choice.
pip install rapidocrOCR, layout, reading order, and table recognition in 90+ languages.
Actively maintained. Last release 2 weeks ago, commits in 12 of the last 26 weeks. A safe choice.
pip install surya-ocrIn short
- rapidocr is the most used: 7.3M downloads a month, 22× more than python-doctr.
- Maintenance is comparable: surya-ocr 87, python-doctr 85, rapidocr 85, infinity-parser2 72 on Pythie’s Index.
- rapidocr is growing fastest: downloads +34% over the last month.
- infinity-parser2 is the newcomer: first released Apr 2026.
- Safe default for a new project: rapidocr.
Side by side
| Metric | infinity-parser2 | python-doctr | rapidocr | surya-ocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 72 | Pythie’s Index: 85 | Pythie’s Index: 85 | Pythie’s Index: 87 |
| Verdict | Actively maintained | Actively maintained | Actively maintained | Actively maintained |
| Downloads / month | 101.8K | 331.7K | 7.3M | 139.3K |
| Downloads, month over month | +28% | +10% | +34% | -4% |
| GitHub stars | 259 | 6.4K | 8.7K | 21.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 10 | 78 | 10 |
| Last release | Aug 27, 2026 | Nov 24, 2026 | Oct 8, 2026 | Nov 13, 2026 |
| Releases, 12 months | 4 | 3 | 13 | 9 |
| Weeks with commits | 10 / 26 | 23 / 26 | 22 / 26 | 12 / 26 |
| Recent contributors | 5 | 14 | 19 | 5 |
| First release | Apr 2026 | Mar 2021 | Mar 2025 | Jan 2024 |
| Python versions | 3.12 – 3.13 | 3.11 – 3.14 | 3.8 – 3.13 | – |
| License | non-standard | Apache-2.0 | Apache-2.0 | Apache-2.0 |
| Known vulnerabilities | None | None | None | None |
Bold marks the best value in each row. Pythie’s Index rates maintenance out of 100: how it works.