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: google/langextract leads both total GitHub adoption (★ 39.5k) and recent 7-day momentum. Licensing: Apache-2.0 · Commercial Friendly vs MIT · Commercial Friendly.
Python SDK for extracting structured data with traceable source spans
Embeddable Python GraphRAG for entity-centric retrieval and corpus-wide synthesis
Backed by independent 6-hour D1 snapshots. Embed in GitHub READMEs or technical blogs.
| Dimension | google/langextract | gusye1234/nano-graphrag |
|---|---|---|
| Total GitHub Stars | ★ 39,462 | ★ 4,017 |
| 24h / 7d Velocity | +6 / +85 | +1 / +2 |
| 7-Day Trend Curve | ||
| Engineering Health | A+ · 95/100 | B · 56/100 |
| Deployment Signals | Docker · Local AI · API | API · Local AI |
| Primary Language | Python | Python |
| Commercial License | Apache-2.0 · Commercial Friendly | MIT · Commercial Friendly |
| Activity | Updated 3d ago | Updated 10mo ago |
| Latest Release | v1.7.2 | v0.0.8 |
| Best For | Python ingestion and RAG preprocessing pipelines that need structured fields from long or varied documents, traceable excerpts, and a human review path | Python teams prototyping or embedding entity-centric retrieval and corpus-wide synthesis, with room to swap models and storage or compare against chunk retrieval |
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 langextractGraphRAG and QueryParam are dataclasses; ainsert and aquery expose the async path.# clone this repo first cd nano-graphrag pip install -e .
Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.
Zero spam · 1-click unsubscribe · Privacy Policy