SentioGate Python SDK (sentiogate-python)
Thin, zero-dependency Python client for SentioGate — the zero-markup AI LLM router offering intelligent latency-based routing, instant failover, and strict BYOK privacy.
- 🐍 PyPI Package:
https://pypi.org/project/sentiogate-python/ - 📦 TypeScript SDK (NPM):
https://www.npmjs.com/package/@sentiogate/sdk - 🌐 Developer Hub & Simulator:
https://sentiogate.github.io
⚡ Installation
pip install sentiogate-python
(Zero external dependencies: uses Python standard library for maximum reliability and minimal container footprint).
🚀 Quickstart
import os
from sentiogate import AutoRouterClient
client = AutoRouterClient(
api_key=os.environ.get("SENTIOGATE_API_KEY"),
)
response = client.create_chat_completion(
model="auto:fastest", # Intelligently selects lowest TTFT model replica
messages=[
{"role": "system", "content": "You are a helpful software architect."},
{"role": "user", "content": "What is the difference between gRPC and REST?"}
]
)
print(response["choices"][0]["message"]["content"])
🌊 Streaming Completions
import os
from sentiogate import AutoRouterClient
client = AutoRouterClient(api_key=os.environ.get("SENTIOGATE_API_KEY"))
for chunk in client.stream_chat_completion(
model="auto:cost-efficient",
messages=[{"role": "user", "content": "Write a binary search in Python."}],
):
delta = chunk.get("choices", [{}])[0].get("delta", {}).get("content", "")
print(delta, end="", flush=True)
print()
🔗 Useful Links
Metadata
Release files for sentiogate-python 1.2.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| sentiogate_python-1.2.2.tar.gz | 14.0 kB | With provenance | Details for sentiogate_python-1.2.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| sentiogate_python-1.2.2-py3-none-any.whl | Python 3 | none | any | Details for sentiogate_python-1.2.2-py3-none-any.whl |
Total release size: 27.3 kB
Release files / sentiogate_python-1.2.2.tar.gz
| Download URL | sentiogate_python-1.2.2.tar.gz |
|---|---|
| Size | 14.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3294522003f225a2a39934f0502f133eb3c73b2d13ce1a6b89d7b61b58d55a64
|
|
BLAKE2b-256 checksum How to use checksums |
f521c20ae21e22f6f8bb0d486d074d23465ae6566574ebcd96d3949b2a2fb0a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logRelease files / sentiogate_python-1.2.2-py3-none-any.whl
| Download URL | sentiogate_python-1.2.2-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
be8e84a107200d2565452c3599c814c7d6a74fbdc4213e69af0ed1706b44c165
|
|
BLAKE2b-256 checksum How to use checksums |
e7a2a5176dc3fdb3cba055bc32049148c31f034b84a41bce8c7138e4dc4ed844
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logSecurity for sentiogate-python 1.2.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for sentiogate_python-1.2.2.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 2, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.