Skip to content

Releases: google/langextract

v1.0.1: Fix libmagic dependency issue

02 Aug 06:40
9c47b34

Choose a tag to compare

What's Changed

  • Fixed libmagic ImportError by adding pylibmagic dependency (#6)
  • Added [full] install option for easier setup
  • Added Docker support with pre-installed libmagic
  • Updated troubleshooting documentation

Bug Fixes

  • Resolve "failed to find libmagic" error when importing langextract (#6)

Installation

# Standard install (now includes pylibmagic)
pip install langextract

# Full install (explicit all dependencies)
pip install langextract[full]

# Docker (libmagic pre-installed)
docker run --rm -e LANGEXTRACT_API_KEY="your-key" langextract python script.py

Full Changelog: v1.0.0...v1.0.1

LangExtract v1.0.0 - Structured Information Extraction

22 Jul 21:59

Choose a tag to compare

A Python library for extracting structured information from unstructured text using LLMs with precise source grounding and interactive visualization.

Key Features

  • Extract structured data from any text using few-shot examples
  • Support for Gemini and Ollama models
  • Interactive HTML visualizations with source highlighting
  • Optimized for long documents with parallel processing and multiple extraction passes
  • Precise source grounding - every extraction maps to its location in the original text

Installation

pip install langextract

See the documentation for full usage examples.