Skip to main content
You are viewing 1.35.x. The latest is 1.45.x.

Python SDK reference

View as Markdown

This 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 minorServer requirement
1.35server-zd 0.1.17 or newer (protocol version 4)
1.32, 1.30, 1.29, 1.28See 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 1.35.0 API reference for this release.

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.