// devtools · google/langextract

langextract

langextract é um projeto de ferramentas de desenvolvimento de código aberto de google (google/langextract no GitHub). Tem 38.930 estrelas no GitHub e 2.720 forks, é publicado sob a licença Apache-2.0 e foi atualizado pela última vez no GitHub em 6 de outubro de 2026.

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

★ 38,9 mil estrelas⑂ 2,7 mil forksApache-2.0atualizado out 2026
▦ visual: o README deste projeto não inclui nenhuma captura incorporável,
então aqui vai um marcador. O guia abaixo está completo mesmo assim.
// dados do projeto

Dados do projeto

Repositório
google/langextract
Estrelas no GitHub
38.930
Forks
2.720
Licença
Apache-2.0
Última atualização no GitHub
6 de outubro de 2026
Tipo de ficha
Guia de instalação completo
Site oficial
Official site
// como funciona

Como funciona

  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.

// recursos

Por que as pessoas gostam tanto

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
// execute você mesmo

Execute você mesmo

  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
// casos de uso

O que você pode criar

Advertisement
// perguntas frequentes

Perguntas frequentes

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.

// continue explorando

Ferramentas semelhantes

Ferramentas de desenvolvimento

mediapipe

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

★ 37,2 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

trafilatura

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

★ 6,9 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

AnyCrawl

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

★ 3,5 mil estrelasMIT
Ver o guia →
Ferramentas de desenvolvimento

ddgs

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

★ 3,0 mil estrelasMIT
Ver o guia →
Ferramentas de desenvolvimento

datasets

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

★ 22,0 mil estrelasApache-2.0
Ver o guia →
Ferramentas de desenvolvimento

WrenAI

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

★ 17,8 mil estrelasNOASSERTION
Ver o guia →
// alternativas

Alternativas em Ferramentas de desenvolvimento

Os outros projetos de Ferramentas de desenvolvimento com mais estrelas no catálogo do LibreAI — a lista realista de alternativas se langextract não for o ideal para você.

// mais em devtools

Mais em Ferramentas de desenvolvimento

Projetos de Ferramentas de desenvolvimento próximos no catálogo, os mais próximos em estrelas de langextract: continue explorando dos dois lados dele.

Baixe o langextract

Grátis e aberto: pegue o código-fonte, dê uma estrela no repositório e comece a criar.