#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.

Releases and problems feed (RSS)

Stars
1.6k
License
Apache-2.0
Last commit
Sep 2026
Last release
Jun 2025
Language
Python
Stars, last 29 weeks+87
6 May 2026: 1,519 stars13 May 2026: 1,525 stars20 May 2026: 1,528 stars27 May 2026: 1,533 stars3 Jun 2026: 1,543 stars10 Jun 2026: 1,552 stars17 Jun 2026: 1,562 stars24 Jun 2026: 1,565 stars1 Jul 2026: 1,567 stars8 Jul 2026: 1,570 stars15 Jul 2026: 1,577 stars22 Jul 2026: 1,578 stars29 Jul 2026: 1,581 stars5 Aug 2026: 1,583 stars12 Aug 2026: 1,586 stars19 Aug 2026: 1,586 stars26 Aug 2026: 1,589 stars2 Sept 2026: 1,590 stars9 Sept 2026: 1,591 stars16 Sept 2026: 1,593 stars23 Sept 2026: 1,594 stars30 Sept 2026: 1,595 stars7 Oct 2026: 1,596 stars14 Oct 2026: 1,596 stars21 Oct 2026: 1,597 stars28 Oct 2026: 1,599 stars4 Nov 2026: 1,601 stars11 Nov 2026: 1,602 stars18 Nov 2026: 1,605 stars25 Nov 2026: 1,606 stars

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

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
Also in Data and scraping for AI
RankProjectScore
#67tavily-pythonPython client for the Tavily search, extract, crawl, map and research API1.4k starsMIT47 out of 100
#68anakinSelf-hosted scraping API that returns LLM-ready markdown or JSON3.8k starsAGPL-3.045 out of 100
#70agentqlNatural-language queries to extract data and automate live web pages Live demo ↗ (opens in a new tab)1.5k starsMIT44 out of 100
#71olmocrPDF and image to Markdown converter built on a 7B vision-language model Live demo ↗ (opens in a new tab)19.9k stars+82 (+0.4%) in 30 daysApache-2.042 out of 100
#72zinggSpark-based entity resolution and record matching trained with active learning Live demo ↗ (opens in a new tab)1.3k starsAGPL-3.041 out of 100