// devtools · google/langextract

langextract

langextract — проект с открытым исходным кодом из категории «Инструменты разработчика» от google (google/langextract на GitHub). У него 38 930 звёзд на GitHub и 2 720 форков, он распространяется по лицензии Apache-2.0 и последний раз обновлялся на GitHub 6 октября 2026.

Google's Python library for extracting structured data from unstructured text with LLMs, with grounding

★ 38,9 тыс. звёзд⑂ 2,7 тыс. форковApache-2.0обновлено окт. 2026
▦ визуал — в README этого проекта нет встраиваемого скриншота,
поэтому здесь заглушка. Руководство ниже в любом случае полное.
// факты о проекте

Факты о проекте

Репозиторий
google/langextract
Звёзды GitHub
38 930
Форки
2 720
Лицензия
Apache-2.0
Последнее обновление на GitHub
6 октября 2026
Тип страницы
Полное руководство по установке
Официальный сайт
Official site
// как это работает

Как это работает

  1. Clarify your goal

    Decide what you want from langextract and check the README and requirements to confirm it fits your setup and Python environment.

  2. Get the code

    Clone the repository from GitHub (github.com/google/langextract) or use the documented install channel if you do not need the source.

  3. Install and configure

    Follow the README quickstart to install dependencies and set any required configuration or credentials.

  4. Run your first task

    Work through the README's first example end to end, then adapt it to your own project or data.

// возможности

Почему его любят

Structured extraction

Extracts structured information from unstructured text using LLMs.

Precise source grounding

Every extraction is grounded to its exact source span in the document.

Interactive visualization

Visualize extraction results interactively to verify quality.

Long documents

Scales to longer documents beyond a single context window.

Vertex AI batch

Supports Vertex AI batch processing for large jobs.

Model flexible

Works with Gemini models and other providers as documented.

Advertisement
// запустите сами

Запустите сами

  1. Clone the repository

    Start by getting the source and entering the project directory.

    git clone https://github.com/google/langextract.git
    cd langextract
  2. Install from PyPI

    Install the langextract package.

    pip install langextract  # see README Installation section
  3. Define and run an extraction

    Define your extraction task with examples, run it on text, then visualize the grounded results.

    # see README Quick Start for the example code
// сценарии использования

Что можно создать

Advertisement
// вопросы и ответы

Вопросы и ответы

Who maintains langextract?

It is maintained by google and contributors on GitHub, where the repository github.com/google/langextract is the canonical home for code, issues and releases.

Is langextract free to use?

Yes — it is open source under the Apache-2.0 license. Read the license in the repository for what is permitted, including any conditions on redistribution or commercial use.

Does it need a paid API key?

Yes for cloud models — for example a Gemini API key; setup for cloud models is documented in the README.

How does langextract compare to alternatives?

Compared with hand-written regex or plain prompting: LangExtract adds few-shot task definition, exact source grounding and visualization on top of raw LLM prompting.

How do I get started?

Clone github.com/google/langextract, follow the README quickstart to install it, and run the documented first example before adapting it to your own work.

// продолжить изучение

Похожие инструменты

Инструменты разработчика

mediapipe

Google's cross-platform framework for on-device ML perception: vision, text and audio pipelines

★ 37,2 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

trafilatura

Trafilatura — a Python and CLI tool to crawl the web and extract clean text and metadata for corpora and RAG.

★ 6,9 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

AnyCrawl

A Node.js crawler that turns websites into LLM-ready data and extracts structured SERP results.

★ 3,5 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

ddgs

A Python metasearch library aggregating many web search services — plus CLI, API and MCP server

★ 3,0 тыс. звёздMIT
Смотреть руководство →
Инструменты разработчика

datasets

Hugging Face's library for loading and processing datasets for AI models in one line

★ 22,0 тыс. звёздApache-2.0
Смотреть руководство →
Инструменты разработчика

WrenAI

GenBI for AI agents - governed text-to-SQL and dashboards through an open context layer

★ 17,8 тыс. звёздNOASSERTION
Смотреть руководство →
// альтернативы

Альтернативы: Инструменты разработчика

Другие проекты из категории «Инструменты разработчика» с наибольшим числом звёзд в каталоге LibreAI — реалистичный список альтернатив, если langextract вам не подходит.

// ещё в категории devtools

Больше проектов: Инструменты разработчика

Соседние проекты из категории «Инструменты разработчика» в каталоге, ближайшие по числу звёзд к langextract — продолжайте изучать полку по обе стороны от него.

Получить langextract

Бесплатно и открыто — забирайте исходный код, ставьте звезду репозиторию и начинайте создавать.