L
google/langextract★ 39,462 · Python
Python SDK for extracting structured data with traceable source spans
Apache-2.0 · Commercial Friendlyv1.7.2
Side-by-side 2026 comparison in RAG, Data & Memory: zylon-ai/private-gpt leads in total GitHub adoption (★ 57.7k), while google/langextract shows stronger 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs Apache-2.0 · Commercial Friendly.
Python SDK for extracting structured data with traceable source spans
Self-hosted API for cited document RAG and tool use on local models
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | google/langextract | zylon-ai/private-gpt |
|---|---|---|
| Total GitHub Stars | ★ 39,462 | ★ 57,668 |
| 24h / 7d Velocity | +6 / +85 | +0 / +14 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 95/100 | A+ · 92/100 |
| Deployment Signals | Docker · Local AI · API | Docker · Self-Hosted · API |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | Apache-2.0 · Commercial Friendly |
| Activity | Updated 3d ago | Updated today |
| Latest Release | v1.7.2 | v1.0.1 |
| Best For | Python ingestion and RAG preprocessing pipelines that need structured fields from long or varied documents, traceable excerpts, and a human review path | Teams building internal knowledge assistants or domain workflows that need cited retrieval, database or CSV tools, and the freedom to select their own inference backend |
char_interval links matched extraction text to source offsets; unmatched extractions carry None.output_schema; Ollama offers JSON mode but not this custom schema interface.max_char_buffer, max_workers, and extraction_passes tune chunk size, concurrency, and repeat extraction independently.@router.register(...), publish Python entry points, and optionally supply a schema class.pip install langextract# macOS
brew tap zylon-ai/tap
brew install private-gptSignal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy