Comparison
docling vs infinity-parser2 vs layoutparser vs surya-ocr
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
SDK and CLI for parsing PDF, DOCX, HTML, and more, to a unified document representation for powering downstream workflows such as gen AI applications.
Actively maintained. Last release 4 days ago, commits in 26 of the last 26 weeks. A safe choice.
pip install doclingDocument 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 layoutparserOCR, 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.
- docling is the most used: 4.4M downloads a month, 32× more than surya-ocr.
- Maintenance is comparable: docling 89, surya-ocr 87, 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: docling.
Side by side
| Metric | docling | infinity-parser2 | layoutparser | surya-ocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 89 | Pythie’s Index: 72 | Pythie’s Index: 9 | Pythie’s Index: 87 |
| Verdict | Actively maintained | Actively maintained | Likely abandoned | Actively maintained |
| Downloads / month | 4.4M | 101.8K | 95.6K | 139.3K |
| Downloads, month over month | +17% | +28% | +1% | -4% |
| GitHub stars | 71.2K | 259 | 5.8K | 21.6K |
| Stars, last 7 days | – | – | – | – |
| Direct dependents | 0 | 0 | 9 | 10 |
| Last release | Nov 26, 2026 | Aug 27, 2026 | Apr 6, 2022 | Nov 13, 2026 |
| Releases, 12 months | 105 | 4 | 0 | 9 |
| Weeks with commits | 26 / 26 | 10 / 26 | 0 / 26 | 12 / 26 |
| Recent contributors | 48 | 5 | 7 | 5 |
| First release | Jul 2024 | Apr 2026 | Jun 2020 | Jan 2024 |
| Python versions | 3.10 – 3.14 | 3.12 – 3.13 | 3.6 – 3.9 | – |
| License | MIT | non-standard | 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.