#6969th of 93 in Data and scraping for AIFor data and documents, documents and ocr
extractthinker
Python library that extracts Pydantic-typed data from documents using LLMs
Run it:Vast.ai ↗ (opens in a new tab)RackNerd ↗ (opens in a new tab)RepoCloud ↗ (opens in a new tab)Clore.ai ↗ (opens in a new tab)Affiliate links, no effect on a rank.
- Stars
- 1.6k
- License
- Apache-2.0
- Last commit
- Sep 2026
- Last release
- Jun 2025
- Language
- Python
1,519 on 6 May 20261,606 on 25 Nov 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
ExtractThinker is a Python library that loads documents (PDF, images, tables, spreadsheets, text), then classifies, splits and extracts fields into validated Pydantic contracts using a configurable LLM. Loaders include PyPdf, PyMuPDF, Camelot, Tabula and Adobe; local models work through Ollama. Recent additions on main, such as SQLite page retrieval, parallel field extraction and an MCP service, are not in the latest PyPI release.
Who it is for: Python developers extracting structured data from invoices and other documents
Strengths
- Pydantic contracts give typed, validated output with field constraints and post-validation
- Classification and splitting handle mixed document bundles
- Pluggable loaders and LLM providers, including local models via Ollama
- Completion strategies for long inputs and incomplete responses
Weaknesses
- 2026 features (MCP service, SQLite retrieval) need install from a checkout, not PyPI
- Scanned documents need OCR or a vision-capable model
- System MIME detection requires libmagic installed on the host
- Schema validity does not ensure accuracy; hosted providers may incur charges
What it needs
- GPU optional
- Docker + Compose
- Needs LLM provider API or Ollama, libmagic, pypdf (for PDFs)
- Models: Ollama local models, Hosted LLM providers via EXTRACT_THINKER_MODEL
What changed
From the release notes. No flag means the note does not say so, not that the upgrade is safe.
Known problems
Reported, then fixed by a linked change
- Make sure classification is right after split ↗ (opens in a new tab)0 reactions · closed 16 Sept 2026Fixed by Repair Docling compatibility and route split groups by classification ID ↗ (opens in a new tab)
- bad content ↗ (opens in a new tab)0 reactions · closed 16 Sept 2026Fixed by Fix cloud loaders, completion handling and fresh-install regressions ↗ (opens in a new tab)
Titles are the reporters' own words, taken from the project's GitHub issues and ranked by reactions. We have not tried to reproduce any of them.
Also in Data and scraping for AI
See all 93| Rank | Project | Score |
|---|---|---|
| #67 | tavily-pythonPython client for the Tavily search, extract, crawl, map and research API | 47 out of 100 |
| #68 | anakinSelf-hosted scraping API that returns LLM-ready markdown or JSON | 45 out of 100 |
| #70 | agentqlNatural-language queries to extract data and automate live web pages | 44 out of 100 |
| #71 | olmocrPDF and image to Markdown converter built on a 7B vision-language model | 42 out of 100 |
| #72 | zinggSpark-based entity resolution and record matching trained with active learning | 41 out of 100 |