$npx skillfedfor your agent

langchain-unstructured

An integration package connecting Unstructured and LangChain

Worth itPyPI Text ProcessingReleased Dec 2025297.1K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — langchain_unstructured-1.0.1-py3-none-any.whl
v1.0.1 · released 2025-12-27 · Python <4.0.0,>=3.10.0 · 2 runtime deps: langchain-core, unstructured-client

Yes. Low install friction, active maintenance, permissive MIT license, and no known vulnerabilities make this a straightforward choice for LangChain users needing document loading and partitioning. Install it if you are building RAG systems or document-processing pipelines with LangChain and want Unstructured's file handling without custom integration code.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires UNSTRUCTURED_API_KEY environment variable or explicit api_key parameter for API-based partitioning; local partitioning may require additional unstructured library installation.
  • Low friction install with just two runtime dependencies.
  • Actively maintained as of August 2026, with recent commits and no archived status.

License · maintenance · safety

MIT (permissive) — MIT license permits commercial and private use with minimal restrictions—suitable for most projects.

last release 2025-12-27 (230 days) · last repo commit 2026-08-10 · 22 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 297,077 downloads/mo, #7,890 on PyPI

Verify before relying

pip install langchain-unstructured unstructured-client
export UNSTRUCTURED_API_KEY="your-api-key"

from langchain_unstructured import UnstructuredLoader
loader = UnstructuredLoader(
    file_path=["example.pdf"],
    api_key="your-api-key",
    partition_via_api=True
)
docs = loader.load()
print(docs[0].page_content)
  • Whether local partitioning mode (without API) requires separate unstructured package installation beyond what is listed as runtime deps.
  • Performance characteristics and latency when processing large files or batches via the Unstructured API.
  • Supported file formats beyond PDF mentioned in the excerpt.
Same gist for agents: .md · .json

What it is and what it does

langchain-unstructured is a LangChain integration that bridges document loading with Unstructured's file partitioning capabilities. It wraps the UnstructuredLoader class to extract and chunk content from files—PDFs, documents, and other formats—either by calling the hosted Unstructured API (with an API key) or by using local partitioning. The loader automatically detects file types and supports post-processing parameters like chunking strategies (e.g., "by_title") to segment documents into text chunks suitable for retrieval-augmented generation (RAG) and other LLM workflows.

The package depends on langchain-core for the LangChain framework integration and unstructured-client for API communication. It requires Python 3.10 or later and is actively maintained. Users configure it by setting an environment variable or passing credentials directly, then instantiate the loader with file paths and optional partitioning parameters, and call load() to retrieve a list of document objects with content and metadata.

Use it for

  • Extract and chunk PDF documents for RAG pipelines in LangChain applications.
  • Batch load multiple document files with automatic format detection and structured partitioning.
  • Preprocess documents with configurable chunking strategies before feeding them to language models.
  • Integrate document parsing into LangChain workflows without writing custom file-handling code.
  • Process documents either via a remote API or locally, depending on infrastructure and latency requirements.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

Low install friction, active maintenance, permissive MIT license, and no known vulnerabilities make this a straightforward choice for LangChain users needing document loading and partitioning. Install it if you are building RAG systems or document-processing pipelines with LangChain and want Unstructured's file handling without custom integration code.

Install

langchain-unstructured on PyPI

Before you install

Low friction install with just two runtime dependencies. Actively maintained as of August 2026, with recent commits and no archived status.

Requires UNSTRUCTURED_API_KEY environment variable or explicit api_key parameter for API-based partitioning; local partitioning may require additional unstructured library installation.

License in practice

MIT license permits commercial and private use with minimal restrictions—suitable for most projects.

Quickstart

pip install langchain-unstructured unstructured-client
export UNSTRUCTURED_API_KEY="your-api-key"

from langchain_unstructured import UnstructuredLoader
loader = UnstructuredLoader(
    file_path=["example.pdf"],
    api_key="your-api-key",
    partition_via_api=True
)
docs = loader.load()
print(docs[0].page_content)

Verify before relying

  • Whether local partitioning mode (without API) requires separate unstructured package installation beyond what is listed as runtime deps.
  • Performance characteristics and latency when processing large files or batches via the Unstructured API.
  • Supported file formats beyond PDF mentioned in the excerpt.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release <4.0.0,>=3.10.0
Install frictionLow. Pure-Python wheel
Runtime dependencies
2 packages
langchain-coreunstructured-client
MaintenanceActively maintained 230 days since the last release
Last repo commit
First released
Downloads297,077 / month, #7,890 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12

Evidence: langchain_unstructured-1.0.1-py3-none-any.whl

Tags

Capabilities
document loader langchainunstructured file parsingpdf extraction langchaindocument chunking ragfile partitioning apilangchain document integrationunstructured integration
Topics
document-loadingrag-pipelinelangchain-integration

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “unstructured file parsing”

Give your agent the search over MCP, or paste the wish link into any chat.

More Text Processing packages

regex Worth it
PyPI · Python Modules · released Jul 2026

A drop-in replacement for Python's standard `re` module that adds advanced regex features like nested sets, fuzzy matching, lookaround in conditionals, and full Unicode case-folding while maintaining backward compatibility.

Apache-2.0 AND CNRI-Pythoncompiled wheel · 3.10+
437.7Mdownloads / mo
pyparsing Worth it
PyPI · Text Processing · released Jan 2026

pyparsing provides a library for building text parsers directly in Python code using composable grammar classes, handling quoted strings, whitespace variation, and embedded comments without regex or lex/yacc.

Install it if you need to parse text or define grammars programmatically.

MITpure Python · 3.9+
412.7Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
docutils With conditions
PyPI · Software Development · released May 2026

Docutils converts plaintext documentation in reStructuredText format into multiple output formats including HTML, XML, and LaTeX using a modular processing system.

BSD-3-Clausepure Python · 3.9+
225.6Mdownloads / mo
RapidFuzz Worth it
PyPI · Text Processing · released Apr 2026

RapidFuzz provides fast fuzzy string matching using Levenshtein Distance and related metrics, implemented mostly in C++ with Python bindings for rapid similarity scoring and approximate string matching.

Install it if you need fuzzy string matching; it's a solid replacement for FuzzyWuzzy with better licensing and performance.

MITcompiled wheel · 3.10+
184.2Mdownloads / mo
tinycss2 Worth it
PyPI · Text Processing · released Nov 2025

tinycss2 parses CSS strings into token and block objects, and generates CSS strings from those objects, following the CSS Syntax Level 3 specification without enforcing specific properties or values.

Install it if your project requires CSS tokenization or syntax manipulation.

BSD-3-Clausepure Python · 3.10+
113.2Mdownloads / mo

See also langchain-docling · unstructured-ingest · unstructured · langchain-text-splitters · unstructured-client · embedchain · langchain-oracledb · langchain-chroma · langchain-cohere · langchain-qdrant