Releases: OnlistTeam/onlist-python
Releases · OnlistTeam/onlist-python
v0.1.0
Onlist Python SDK v0.1.0
Initial release of the official Python SDK for Onlist.
Features
Onlist/AsyncOnlistclients — drop-in replacement foropenai.OpenAI- Marketplace API: query models, providers, and pricing
ProviderRoutingtype for marketplace routing control- Error hierarchy:
AuthenticationError,RateLimitError,ProviderError, etc. - Full type hints with
py.typed(PEP 561) - 5 ready-to-run examples
Installation
pip install onlistQuick Start
from onlist import Onlist
client = Onlist(api_key="sk-...")
response = client.chat.completions.create(
model="anthropic/claude-sonnet-4-6",
messages=[{"role": "user", "content": "Hello!"}],
)
print(response.choices[0].message.content)