|
1 | 1 | <!-- @format --> |
2 | 2 |
|
3 | | -# LandingAI ADE Python API library |
| 3 | +<!-- @format --> |
| 4 | + |
| 5 | +<div align="center"> |
| 6 | + |
| 7 | +<img src="logo.png" alt="LandingAI" width="420" /> |
| 8 | + |
| 9 | +**Agentic Document Extraction Python Library** |
| 10 | + |
| 11 | +[)](https://pypi.org/project/landingai-ade/) |
| 12 | + |
| 13 | +[](https://pypi.org/project/landingai-ade/) |
| 14 | + |
| 15 | + |
| 16 | +**[Playground](https://va.landing.ai) · [Discord](https://discord.com/invite/RVcW3j9RgR) · [Blog](https://landing.ai/blog) · [Docs](https://docs.landing.ai/ade/ade-overview)** |
| 17 | + |
| 18 | +</div> |
| 19 | + |
| 20 | + |
| 21 | +A Python library for interacting with the **LandingAI Agentic Document Extraction REST API**, designed for flexibility, reliability, clarity, and performance. Built for Python 3.9+ and generated with [Stainless](https://www.stainless.com/). |
4 | 22 |
|
5 | | -<!-- prettier-ignore --> |
6 | | -[)](https://pypi.org/project/landingai-ade/) |
7 | 23 |
|
8 | | -The LandingAI ADE Python library provides convenient access to the LandingAI ADE REST API from any Python 3.9+ |
9 | | -application. The library includes type definitions for all request params and response fields, |
10 | | -and offers both synchronous and asynchronous clients powered by [httpx](https://github.com/encode/httpx). |
| 24 | +## ✨ Features |
11 | 25 |
|
12 | | -It is generated with [Stainless](https://www.stainless.com/). |
| 26 | +* ✅ Fully-typed SDK with Pydantic response models |
| 27 | +* ⚡️ Sync & Async clients |
| 28 | +* 📄 Large document processing via async jobs |
| 29 | +* 🔁 Built-in retries with exponential backoff |
| 30 | +* 🔐 Secure API key handling |
| 31 | +* 📦 Seamless file uploads |
| 32 | +* 🧩 Schema-based data extraction |
| 33 | +* 🔌 Pluggable HTTP backends (`httpx` or `aiohttp`) |
13 | 34 |
|
14 | 35 | ## Documentation |
15 | 36 |
|
@@ -107,7 +128,7 @@ client = LandingAIADE(apikey=os.environ.get("VISION_AGENT_API_KEY")) |
107 | 128 | response = client.extract( |
108 | 129 | schema=schema, |
109 | 130 | # use markdown= for local files, markdown_url= for remote URLs |
110 | | - markdown=Path('path/to/file.md') |
| 131 | + markdown=Path("path/to/file.md") |
111 | 132 | ) |
112 | 133 | ``` |
113 | 134 |
|
|
0 commit comments