SDK Installation

Install and set up the OneRouter Python SDK for your project.

Python SDK

Installation

pip install onerouter

Or install with optional async dependencies:

pip install onerouter[async]

Requirements

  • • Python 3.8 or higher
  • • httpx (automatically installed)
  • • Optional: aiohttp for async support

Verify Installation

python -c "import onerouter; print('OneRouter SDK installed successfully!')"
SDK Versions

Latest Version

v2.0.0

Released December 2025

  • • Enhanced error handling
  • • Async client support
  • • Improved webhook validation

Legacy Version

v1.x

Deprecated - Upgrade recommended