Python SDK reference
查看 MarkdownThis reference covers the Dex Python SDK. Check the SDK version your application uses before you rely on a detail:
python -c 'import importlib.metadata; print(importlib.metadata.version("dex-python-sdk"))'
Install
The Python SDK is the PyPI package dex-python-sdk. Pin an exact release in pyproject.toml or your lockfile:
pip install dex-python-sdk==1.35.0
The package requires Python 3.11 or newer. Releases use the tag sdk-python/vX.Y.Z.
Supported versions
| SDK minor | Server requirement |
|---|---|
| 1.35 | server-zd 0.1.17 or newer (protocol version 4) |
| 1.32, 1.30, 1.29, 1.28 | See the compatibility matrix |
Minor numbers follow the shared Dex release train. A missing minor means the Python SDK did not change in that release.
API reference
Read the Python SDK API reference for the latest release, 1.35.0.
Versioned snapshots: 1.35.0, 1.32.0, 1.30.0, 1.29.0, 1.28.1.
Pages
- Workers: Python names for Worker readiness, capacity, and shutdown settings.
Release notes
See the sdk-python releases on GitHub.