samples-python/README.md at main · temporalio/samples-python

Temporal Python SDK Samples

This is a collection of samples showing how to use the Python SDK.

Usage

Prerequisites:

The SDK requires Python >= 3.10. You can install Python using uv. For example,

With this repository cloned, run the following at the root of the directory:

That loads all required dependencies. Then to run a sample, usually you just run it under uv. For example:

uv run hello/hello_activity.py

Some examples require extra dependencies. See each sample's directory for specific instructions.

Test

To run the tests: