← all repositories
landing-ai/ade-python

A typed Python chauffeur for LandingAI’s document API

Python wrapper for LandingAI’s Agentic Document Extraction API that spares you from writing yet another typed HTTP client.

ade-python
Collecting fresh signals — velocity needs a few days of history.
collecting data…
star history

What it does

landingai-ade is essentially polished glue code for LandingAI’s Agentic Document Extraction REST API. It handles authentication, file uploads, retries, and response parsing so you can turn PDFs and images into chunked text, classified splits, or structured data without writing raw HTTP requests. Both synchronous and asynchronous clients are available, along with background job support for oversized documents.

The interesting bit

Instead of plain dictionaries, the SDK returns Pydantic models with .to_json() and .to_dict() helpers, and it lets you define extraction schemas as Pydantic classes. It also bundles an MCP server, meaning Cursor or other AI assistants can explore endpoints and make test requests on your behalf. If you need more concurrency, you can swap the default httpx backend for aiohttp.

Key highlights

  • Fully typed SDK using Pydantic response models and TypedDict request parameters.
  • Sync and async clients with built-in retries, exponential backoff, and swappable HTTP backends (httpx or aiohttp).
  • Async job queue for large document processing.
  • Schema-based extraction via Pydantic models.
  • MCP server included for AI assistant integration.

Caveats

  • Requires a LandingAI API key; the library is strictly a client for their hosted service.
  • Default request timeout is eight minutes, suggesting the upstream API can be slow with large documents.

Verdict

Worth importing if you are already paying for LandingAI’s document extraction and want Pydantic types out of the box. Skip it if you need a self-hosted parser—this is a vendor-specific client, not a standalone engine.

Frequently asked

What is landing-ai/ade-python?
Python wrapper for LandingAI’s Agentic Document Extraction API that spares you from writing yet another typed HTTP client.
Is ade-python open source?
Yes — landing-ai/ade-python is open source, released under the Apache-2.0 license.
What language is ade-python written in?
landing-ai/ade-python is primarily written in Python.
How popular is ade-python?
landing-ai/ade-python has 1k stars on GitHub.
Where can I find ade-python?
landing-ai/ade-python is on GitHub at https://github.com/landing-ai/ade-python.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.