landingai-ade
The official Python library for the landingai-ade API
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive license, and solves a concrete problem—structured extraction from unstructured documents—without requiring you to build OCR or layout parsing yourself. Suitable for production use if you have a LandingAI API account and your document extraction workflow aligns with the supported models. No known security vulnerabilities.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires VISION_AGENT_API_KEY environment variable or explicit apikey parameter; LandingAI API account needed.
- Low friction: pure Python wheel with six lightweight runtime dependencies (anyio, distro, httpx, pydantic, sniffio, typing-extensions).
- Active maintenance—released 10 days ago with 1026 GitHub stars and commits through 2026-08-11.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and proprietary projects.
last release 2026-08-04 (10 days) · last repo commit 2026-08-11 · 1,026 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 109,602 downloads/mo, #12,507 on PyPI
Alternatives
Verify before relying
pip install landingai-ade
from pathlib import Path
from pydantic import BaseModel, Field
from landingai_ade import LandingAIADE
class Invoice(BaseModel):
invoice_number: str = Field(description="The invoice number")
total: str = Field(description="Invoice grand total")
client = LandingAIADE() # reads VISION_AGENT_API_KEY
parsed = client.v2.parse(document=Path("invoice.pdf"))
result = client.v2.extract(schema=Invoice, markdown=parsed.markdown)
print(result.extraction)- Exact rate limits, quota, or cost structure for the underlying LandingAI API service.
- Whether the DPT-3 model family supports all document types (e.g., handwritten, non-Latin scripts, scanned images).
- Latency and throughput characteristics for typical document sizes and extraction schemas.
What it is and what it does
landingai-ade is the official Python client for LandingAI's Agentic Document Extraction API. It parses PDFs and images into structured Markdown with pixel-level grounding (bounding boxes), then extracts typed fields by applying a Pydantic model or JSON schema to that Markdown. The library provides both synchronous and asynchronous clients with identical interfaces, automatic retry logic with exponential backoff, and a job queue for processing large documents asynchronously. Responses are fully typed and include extraction metadata showing where each field's value came from in the source document.
The package is designed for workflows where you need to reliably extract structured data from unstructured documents—invoices, forms, contracts, receipts—without building your own OCR or layout analysis. It handles partial failures gracefully (HTTP 206 responses when some pages fail), supports optional disk persistence via save_to, and requires only an API key to authenticate. The v2 API (powered by DPT-3 models) is the current recommended interface; v1 methods remain supported for backward compatibility.
Use it for
- Extract invoice line items, totals, and dates from PDF receipts and invoices into a typed Pydantic model.
- Parse form submissions or scanned documents into structured JSON for database ingestion or downstream processing.
- Build a document triage system that parses PDFs asynchronously and extracts metadata (sender, date, document type) at scale.
- Validate extracted fields against a schema and retrieve the pixel coordinates of each field for audit or UI highlighting.
- Process large multi-page documents via the job API without blocking on synchronous request timeouts.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive license, and solves a concrete problem—structured extraction from unstructured documents—without requiring you to build OCR or layout parsing yourself. Suitable for production use if you have a LandingAI API account and your document extraction workflow aligns with the supported models. No known security vulnerabilities.
Install
landingai-ade on PyPI
Before you install
Low friction: pure Python wheel with six lightweight runtime dependencies (anyio, distro, httpx, pydantic, sniffio, typing-extensions). Active maintenance—released 10 days ago with 1026 GitHub stars and commits through 2026-08-11.
Requires VISION_AGENT_API_KEY environment variable or explicit apikey parameter; LandingAI API account needed.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and proprietary projects.
Quickstart
pip install landingai-ade
from pathlib import Path
from pydantic import BaseModel, Field
from landingai_ade import LandingAIADE
class Invoice(BaseModel):
invoice_number: str = Field(description="The invoice number")
total: str = Field(description="Invoice grand total")
client = LandingAIADE() # reads VISION_AGENT_API_KEY
parsed = client.v2.parse(document=Path("invoice.pdf"))
result = client.v2.extract(schema=Invoice, markdown=parsed.markdown)
print(result.extraction)
Verify before relying
- Exact rate limits, quota, or cost structure for the underlying LandingAI API service.
- Whether the DPT-3 model family supports all document types (e.g., handwritten, non-Latin scripts, scanned images).
- Latency and throughput characteristics for typical document sizes and extraction schemas.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesanyiodistrohttpxpydanticsniffiotyping-extensions |
| Maintenance | Actively maintained 10 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 109,602 / month, #12,507 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 :: Apache Software LicenseOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: OS IndependentOperating System :: POSIXOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python ModulesTyping :: Typed |
Evidence: landingai_ade-1.16.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 › “document extraction with pydantic schema”
- landingai-adeConverts PDFs and images into structured Markdown and extracts typed…
- vlmrun-hubProvides a catalog of pre-defined Pydantic schemas for extracting…
- docling-coreDocling Core defines the foundational DoclingDocument data model and…
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 extend-ai · opendataloader-pdf · marker-pdf · instructor · docling-core · vlmrun-hub · markitdown-no-magika · dydantic · atlas-doc-parser · pymupdf