Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Spatius Python SDK

Python server SDK for creating Spatius avatar sessions.

Installation

pip install spatius

Install the optional Ogg Opus encoder support when you want the SDK to encode raw PCM before sending:

pip install "spatius[opus]"

Telemetry

The SDK exports anonymous OpenTelemetry metrics and traces by default. Configure the process-wide OTLP base endpoint before using a session, or disable export with an empty string:

from spatius import configure_telemetry, shutdown_telemetry

configure_telemetry("https://telemetry.example.com")
# configure_telemetry("")  # disable metrics and traces

# Useful for short-lived processes that exit immediately after a session.
shutdown_telemetry()

The first audio message for each request carries W3C trace context to the backend. Later chunks omit it. OTel resources include service.name=spatius-python, sdk.platform=python, app_id, and the resolved region. The server SDK exports metrics and traces only; it does not upload telemetry logs.

Documentation

See the full Python SDK guide at docs.spatius.ai/sdk-reference/python-sdk/python-sdk.

License

MIT

Release files for spatius 1.0.5rc1

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

Source distribution (sdist)

Source distribution for spatius 1.0.5rc1
File Size Uploaded
spatius-1.0.5rc1.tar.gz 152.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for spatius 1.0.5rc1
File Interpreter ABI Platform
spatius-1.0.5rc1-py3-none-any.whl Python 3 none any Details

Total release size: 183.8 kB

Release files / spatius-1.0.5rc1.tar.gz

Download URL spatius-1.0.5rc1.tar.gz
Size 152.4 kB
Tags Source
SHA-256 checksum
How to use checksums
27e6af0ca53dc88cf036f469d73a3048428a101b43b6e87d781c6d9180adbfc7
BLAKE2b-256 checksum
How to use checksums
733782815f3b3188ab06e07f134dcd2de1ea9894b91e584cdc3157fbb91f752e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 10, 2026.

Transparency log

Release files / spatius-1.0.5rc1-py3-none-any.whl

Download URL spatius-1.0.5rc1-py3-none-any.whl
Size 31.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cc361e0491708a16b2e8e235e54ecdb2cee3d7896af579f09673b66e82847307
BLAKE2b-256 checksum
How to use checksums
774f43e677502b21fc738cfe75e35551bb421015cceac510157a2b78da4f7dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Aug 10, 2026.

Transparency log
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