Comparison
infinity-parser2 vs kreuzberg vs layoutparser 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 12 of the last 26 weeks. A safe choice.
pip install infinity-parser2High-performance document intelligence library for Python. Extract text, metadata, and structured data from PDFs, Office documents, images, and 88+ formats. Powered by Rust core for 10-50x speed improvements.
Actively maintained. Last release 2 months ago, commits in 13 of the last 26 weeks. A safe choice.
pip install kreuzbergA 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 3 weeks ago, commits in 14 of the last 26 weeks. A safe choice.
pip install surya-ocrIn short
- layoutparser looks abandoned: avoid it for new projects.
- kreuzberg is the most used: 220.4K downloads a month, 1.6× more than surya-ocr.
- Maintenance is comparable: surya-ocr 89, kreuzberg 80, infinity-parser2 76 on Pythie’s Index.
- infinity-parser2 is growing fastest: downloads +27% over the last month.
- kreuzberg is the newcomer: first released Feb 2025.
- Safe default for a new project: kreuzberg.
Side by side
| Metric | infinity-parser2 | kreuzberg | layoutparser | surya-ocr |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 76 | 80 |