Reivo SDK — Cut your AI API costs in half with one line of code.
Project description
Reivo Python SDK
Cut your AI API costs in half with one line of code.
Install
pip install reivo
With provider dependencies:
pip install reivo[openai] # OpenAI
pip install reivo[anthropic] # Anthropic
pip install reivo[all] # All providers
Quick Start
from reivo import Reivo
r = Reivo("rv_your_api_key")
# OpenAI
client = r.openai()
resp = client.chat.completions.create(
model="gpt-4o",
messages=[{"role": "user", "content": "Hello"}],
)
# Anthropic
client = r.anthropic()
resp = client.messages.create(
model="claude-sonnet-4-20250514",
max_tokens=1024,
messages=[{"role": "user", "content": "Hello"}],
)
# Google
client = r.google()
resp = client.models.generate_content(
model="gemini-2.5-flash",
contents="Hello",
)
Session & Agent Tracking
r = Reivo(
"rv_your_api_key",
session_id="session-123",
agent_id="my-agent",
)
client = r.openai()
Self-Hosted
r = Reivo("rv_...", base_url="https://your-proxy.example.com")
Get Your API Key
Sign up at reivo.dev and generate a key in Settings.
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
reivo-0.1.0.tar.gz
(3.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
reivo-0.1.0-py3-none-any.whl
(3.5 kB
view details)
File details
Details for the file reivo-0.1.0.tar.gz.
File metadata
- Download URL: reivo-0.1.0.tar.gz
- Upload date:
- Size: 3.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9e5d409034fca3d7dbb0adf2cd27a67344e3e097b4d25d3dd2764f48bd1515d8
|
|
| MD5 |
d3e333bf14562ac3857b61b31b4a6796
|
|
| BLAKE2b-256 |
fea6562baf4932542f0b2007fa5d9a1d6c5e7fde99b78e805a90b0b8b891d811
|
File details
Details for the file reivo-0.1.0-py3-none-any.whl.
File metadata
- Download URL: reivo-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6fd6e1b7da2e1021316a018492b41415ca0ef0f6bdbed3eaf3bf934e31c89076
|
|
| MD5 |
4fe2bc1571a9476a8e167b2ce3c05d73
|
|
| BLAKE2b-256 |
32f94d7a02cfc2726ecaa01dcfb047ed477b0d7933d2fd3f1660e8e36a160805
|