Skip to main content

SentioGate Python SDK (sentiogate)

PyPI version Python versions License: Apache-2.0 Website Live Benchmarks

Thin, zero-dependency Python client for SentioGate — the zero-markup AI LLM router offering intelligent latency-based routing, instant failover, and strict BYOK privacy.


⚡ Installation

pip install sentiogate

(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()

Metadata

Release files for sentiogate-python 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sentiogate-python 1.2.1
File Size Uploaded Provenance Actions
sentiogate_python-1.2.1.tar.gz 14.0 kB With provenance Details for sentiogate_python-1.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sentiogate-python 1.2.1
File Interpreter ABI Platform Actions
sentiogate_python-1.2.1-py3-none-any.whl Python 3 none any Details for sentiogate_python-1.2.1-py3-none-any.whl

Total release size: 27.3 kB

Release files / sentiogate_python-1.2.1.tar.gz

Download URL sentiogate_python-1.2.1.tar.gz
Size 14.0 kB
Tags Source
SHA-256 checksum
How to use checksums
299f5eb69f808bf359b7a40ee821a03e828e9d4d13519ab7ecafc571510f043f
BLAKE2b-256 checksum
How to use checksums
f2dab370dab26b33fae704af79bff02d7b35097abae1bdd38a1b7e52c10e2637
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 log

Release files / sentiogate_python-1.2.1-py3-none-any.whl

Download URL sentiogate_python-1.2.1-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a430173a427f1eaf6d17b0cc4279212df854f1d9349c78eebb66be932d39baad
BLAKE2b-256 checksum
How to use checksums
18ab0e82d398eefe35129d0157d17cbad7bf042e7e272d7a7748cd0572a2fd6f
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 log

Security for sentiogate-python 1.2.1

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.

Select from 2 files

Attestation for sentiogate_python-1.2.1.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 log

A 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.

Release history Release notifications | RSS feed

This release

1.2.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page