skillfed

reductoai

The official Python library for the reducto API

reductoai v0.22.0 3.9M downloads/30d#2,465 on PyPI26
Permissive license Apache-2.0 Active released

What it is and what it does

Reductoai is an official Python SDK for the Reducto document processing API. It provides a typed client interface to submit documents to Reducto's remote parsing service and retrieve structured results. The library includes full type hints for requests and responses via pydantic, making it suitable for IDE autocomplete and static type checking.

The package supports both synchronous and asynchronous workflows, both powered by httpx. It handles authentication via API key, automatic retries on transient failures, configurable timeouts, and detailed error types for different HTTP status codes. Responses are pydantic models with helper methods for JSON serialization and dictionary conversion.

Use it for:

  • Submit PDFs or images to Reducto's cloud service to extract structured data or enhanced content.
  • Build async workflows that submit multiple documents in parallel and collect results without blocking.
  • Integrate document parsing into a web service that needs typed, validated API responses.
  • Handle API errors gracefully with specific exception types for rate limits, authentication, and connection failures.
  • Use environment variables to manage API credentials securely across different deployment environments.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python client library for the Reducto REST API that parses and processes documents through remote API calls, with both synchronous and asynchronous interfaces.

Yes, if you need to call the Reducto API from Python. The library is actively maintained, has low install friction, permissive Apache-2.0 licensing, no known vulnerabilities, and provides a well-typed interface with both sync and async support. The main constraint is that it requires a valid Reducto API key and internet access to the service; it is not a standalone document processor.

Install

reductoai on PyPI

pip

pip install reductoai

uv

uv add reductoai

poetry

poetry add reductoai

Installing reductoai

Before you install

Low install friction with a pure-Python wheel and standard dependencies. Active maintenance with recent commits and support for current Python versions (3.9–3.14).

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most projects.

Quickstart

pip install reductoai

import os
from reductoai import Reducto

client = Reducto(api_key=os.environ.get("REDUCTO_API_KEY"))
response = client.parse.run(input="https://pdfobject.com/pdf/sample.pdf")

Requires a valid REDUCTO_API_KEY environment variable or explicit api_key parameter to authenticate with the Reducto service.

Verify before relying

  • Whether the Reducto service itself is production-ready and has documented SLAs for availability and latency.
  • Cost structure and rate limits for API calls beyond the free tier, if any.
  • Whether aiohttp integration is stable and recommended for production async workloads.

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 — anyio, distro, httpx, pydantic, sniffio, typing-extensions
Maintenance actively maintained — 138 days since the last release
Last repo commit
First released
Downloads 3,878,770/month — #2,465 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: reductoai-0.22.0-py3-none-any.whl

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

Tags

reducto api clientdocument parsing pythonpdf processing apiasync http client libraryrest api python sdktyped api wrapperdocument extraction
rest-api-clientasync-supportdocument-processing

More Python Modules packages