extend-ai
Official Python SDK for Extend (extend.ai) — the document processing API. Parse, extract, classify, split, and edit PDFs and 35+ file types
Decision gist · record as of 2026-08-14
Yes. The SDK is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. It is well-suited for developers building document processing workflows who want typed, convenient access to the Extend API. Start with synchronous methods for prototyping; migrate to polling or webhooks for production workloads.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.8 or later and a valid Extend API key.
- Low friction install with four lightweight runtime dependencies (httpx, pydantic, pydantic-core, typing_extensions).
- Package is actively maintained with a recent release (4 days old) and no known vulnerabilities.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—typical for open-source SDKs.
last release 2026-08-10 (4 days) · last repo commit 2026-08-10 · 4 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 183,231 downloads/mo, #10,070 on PyPI
Alternatives
Verify before relying
pip install extend-ai
from extend_ai import Extend
client = Extend(token="YOUR_API_KEY")
result = client.parse(file={"url": "https://example.com/invoice.pdf"})
for chunk in result.output.chunks:
print(chunk.content)- Whether the 5-minute timeout on synchronous methods is sufficient for typical production document sizes.
- Performance characteristics and latency for batch processing workflows.
- Exact coverage and accuracy of OCR across the 35+ supported file types.
What it is and what it does
Extend-ai is the official Python SDK for Extend, a cloud-based document processing service. It provides typed, synchronous and asynchronous access to parse, extract structured data, classify, split, and edit documents in PDF and 35+ other file formats. The SDK wraps the Extend API with convenient methods that handle file upload, processing, and result retrieval in a single call.
The library integrates deeply with Pydantic, allowing you to define extraction schemas as typed models and get end-to-end validation from request to response. It includes polling helpers for production workflows, webhook verification utilities, and support for custom field types like ExtendDate, ExtendCurrency, and ExtendSignature. Synchronous methods have a 5-minute timeout and are suited for testing; production workloads should use polling or webhooks instead.
Use it for
- Extract structured invoice data (line items, totals, dates) into typed Pydantic models for accounting systems.
- Classify incoming documents by type (invoice, receipt, contract) and route them to appropriate processing pipelines.
- Split multi-document PDF packets into individual documents for batch processing workflows.
- Parse unstructured PDFs into semantic chunks for document search and retrieval systems.
- Automate form filling and PDF editing via natural-language instructions.
- Build document processing workflows that chain extraction, classification, and splitting steps.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The SDK is actively maintained, has no known vulnerabilities, low install friction, and permissive licensing. It is well-suited for developers building document processing workflows who want typed, convenient access to the Extend API. Start with synchronous methods for prototyping; migrate to polling or webhooks for production workloads.
Install
extend-ai on PyPI
Before you install
Low friction install with four lightweight runtime dependencies (httpx, pydantic, pydantic-core, typing_extensions). Package is actively maintained with a recent release (4 days old) and no known vulnerabilities.
Requires Python 3.8 or later and a valid Extend API key.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—typical for open-source SDKs.
Quickstart
pip install extend-ai
from extend_ai import Extend
client = Extend(token="YOUR_API_KEY")
result = client.parse(file={"url": "https://example.com/invoice.pdf"})
for chunk in result.output.chunks:
print(chunk.content)
Verify before relying
- Whether the 5-minute timeout on synchronous methods is sufficient for typical production document sizes.
- Performance characteristics and latency for batch processing workflows.
- Exact coverage and accuracy of OCR across the 35+ supported file types.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <4.0,>=3.8 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packageshttpxpydanticpydantic-coretyping_extensions |
| Maintenance | Actively maintained 4 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 183,231 / month, #10,070 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Intended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: extend_ai-1.18.0-py3-none-any.whl
Tags
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 › “structured data extraction from documents”
- extend-aiOfficial Python SDK for the Extend document processing API, enabling…
- unstructured-clientHTTP client SDK for the Unstructured Platform API that processes…
- google-cloud-documentaiPython client library for Google Cloud Document AI, which parses…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also landingai-ade · python-documentcloud · kreuzberg · pymupdf · PyPDF2 · PyPDF3 · cloudconvert · vlmrun · PyPDF4 · pdfservices-sdk