Skip to content

Installation

pip install stx-python

Requires Python 3.9 to 3.13. The package is on PyPI as stx-python and imports as stx.

from stx import STX, AsyncSTX, STXWebSocket

Response models are in stx.models, and every exception is importable from stx.

python -c "import stx; print(stx.__version__)"

Pin an exact version in production (stx-python==0.6.0). Before 1.0.0, a minor release can change the API. Pre-releases such as 0.7.0rc1 install only when asked for: pip install --pre stx-python.

Uninstalling the package leaves ~/.stx/ (your credentials profile and keys) in place.

v1.5.9Changelogllms.txtllms-full.txt