Documentation Index
Fetch the complete documentation index at: https://docs.sportsxapp.com/llms.txt
Use this file to discover all available pages before exploring further.
Install from PyPI
Supported Python versions
| Python | Status |
|---|---|
| 3.13 | Supported (CI) |
| 3.12 | Supported (CI) |
| 3.11 | Supported (CI) |
| 3.10 | Best-effort (not in CI) |
| 3.9 | Supported (CI) |
| ≤ 3.8 | Not supported |
Pre-release channel
stx-python is currently in alpha and lives on TestPyPI. pip install stx-python from the main PyPI index will fail until the first stable release — install from TestPyPI explicitly:
--extra-index-url is required so pip can still resolve transitive dependencies (gql, aiohttp, etc.) that aren’t mirrored to TestPyPI.
Once the first stable release ships to main PyPI, the install simplifies to:
Optional extras
None today.Verify
0.5.0a1 (or newer).
Dependencies
The SDK pulls in the following at install time:| Package | Why |
|---|---|
gql[requests]>=3.4.0,<4.0 | GraphQL client (DSL + transport). Pinned below 4.0 — dsl_gql was removed. |
aiohttp>=3.9 | Async HTTP transport for AsyncSTX. |
websockets>=12.0 | Phoenix channel transport for STXWebSocket. |
pydantic>=2.0 | Typed payload models. |
pip install succeeds, you’re done.
Editable install (contributing)
If you’re working on the SDK itself:Uninstalling
~/.stx/ (credentials, schema cache) on disk. Delete it manually if you want a clean slate: