Installation
pip install stx-pythonpoetry add stx-pythonuv add stx-pythonRequires Python 3.9 to 3.13. The package is on PyPI as stx-python and imports as stx.
Importing
Section titled “Importing”from stx import STX, AsyncSTX, STXWebSocketResponse models are in stx.models, and every exception is importable from stx.
Check the install
Section titled “Check the install”python -c "import stx; print(stx.__version__)"Versioning
Section titled “Versioning”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.

