Reducto Python SDK
The Reducto Python library provides convenient access to the Reducto REST API from any Python 3.9+ application. The library includes type definitions for all request params and response fields, and offers both synchronous and asynchronous clients powered by httpx.Key Features
Type-Safe API
Full type definitions for all request parameters and response fields with Pydantic models and TypedDicts
Async & Sync
Both synchronous and asynchronous clients with support for httpx and aiohttp backends
Smart Retries
Automatic retry handling with exponential backoff for connection errors and rate limits
File Uploads
Easy file upload support with PathLike instances, bytes, or custom tuples
Get Started
Installation
Install the Reducto Python SDK using pip
Quick Start
Parse your first document in minutes
API Reference
Explore the full API documentation
Main Features
Learn about parsing, extraction, and more
Requirements
- Python 3.9 or higher
- An API key from Reducto
What You Can Build
With the Reducto Python SDK, you can:- Parse documents from URLs or files into structured data
- Extract information from PDFs, images, and other document formats
- Process documents with advanced enhancement options
- Handle large documents with automatic chunking and splitting
- Stream responses for efficient memory usage
- Webhook integration for asynchronous document processing