Comparison
infinity-parser2 vs layoutparser vs python-doctr 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-parser2A unified toolkit for Deep Learning Based Document Image Analysis
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install layoutparserDocument 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-doctrOCR, 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
- layoutparser looks abandoned: avoid it for new projects.
- python-doctr is the most used: 331.7K downloads a month, 2.4× more than surya-ocr.
- Maintenance is comparable: surya-ocr 87, python-doctr 85, infinity-parser2 72 on Pythie’s Index.
- infinity-parser2 is growing fastest: downloads +28% over the last month.
- infinity-parser2 is the newcomer: first released Apr 2026.
- Safe default for a new project: python-doctr.
Side by side
| Metric | infinity-parser2 | layoutparser | python-doctr | surya-ocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 72 | Pythie’s Index: 9 | Pythie’s Index: 85 | Pythie’s Index: 87 |
| Verdict | Actively maintained | Likely abandoned | Actively maintained | Actively maintained |
| Downloads / month | 101.8K | 95.6K | 331.7K | 139.3K |
| Downloads, month over month | +28% | +1% | +10% | -4% |
| GitHub stars | 259 | 5.8K | 6.4K | 21.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 9 | 10 | 10 |
| Last release | Aug 27, 2026 | Apr 6, 2022 | Nov 24, 2026 | Nov 13, 2026 |
| Releases, 12 months | 4 | 0 | 3 | 9 |
| Weeks with commits | 10 / 26 | 0 / 26 | 23 / 26 | 12 / 26 |
| Recent contributors | 5 | 7 | 14 | 5 |
| First release | Apr 2026 | Jun 2020 | Mar 2021 | Jan 2024 |
| Python versions | 3.12 – 3.13 | 3.6 – 3.9 | 3.11 – 3.14 | – |
| 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.