LibreAI / Développement / langextract
// devtools · google/langextract

langextract

langextract est un projet de développement open source, créé par google (google/langextract sur GitHub). Il compte 38 930 étoiles sur GitHub et 2 720 forks, il est publié sous la licence Apache-2.0 et a été mis à jour pour la dernière fois sur GitHub le 6 octobre 2026.

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

★ 38,9 k étoiles⑂ 2,7 k forksApache-2.0mis à jour oct. 2026
▦ visuel — le README de ce projet ne contient aucune capture intégrable,
voici donc un emplacement réservé. Le guide ci-dessous est complet malgré tout.
// détails du projet

Détails du projet

Étoiles GitHub
38 930
Forks
2 720
Licence
Apache-2.0
Dernière mise à jour sur GitHub
6 octobre 2026
Catégorie
Développement
Type de fiche
Guide d'installation complet
Site officiel
Official site
// fonctionnement

Comment ça marche

  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.

// fonctionnalités

Pourquoi on l'adore

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
// lancez-le

Lancez-le vous-même

  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
// cas d'usage

Ce que vous pouvez créer

Advertisement
// faq

Questions fréquentes

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.

// continuez l'exploration

Outils similaires

Développement

mediapipe

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

★ 37,2 k étoilesApache-2.0
Voir le guide →
Développement

trafilatura

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

★ 6,9 k étoilesApache-2.0
Voir le guide →
Développement

AnyCrawl

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

★ 3,5 k étoilesMIT
Voir le guide →
Développement

ddgs

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

★ 3,0 k étoilesMIT
Voir le guide →
Développement

datasets

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

★ 22,0 k étoilesApache-2.0
Voir le guide →
Développement

WrenAI

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

★ 17,8 k étoilesNOASSERTION
Voir le guide →
// alternatives

Alternatives en Développement

Les autres projets de la catégorie Développement avec le plus d'étoiles du catalogue LibreAI — la sélection réaliste d'alternatives si langextract ne vous convient pas.

// plus en devtools

Plus en Développement

Projets de la catégorie Développement proches dans le catalogue, les plus proches en étoiles de langextract — continuez à explorer de part et d'autre.

Obtenir langextract

Gratuit et ouvert : récupérez le code source, mettez une étoile au dépôt et commencez à créer.