A simple example of use of the temporal Python SDK. See https://github.com/temporalio/sdk-python
- Run the stack
docker compose up --detach --build --force-recreate
- Navigate to Streamlit http://localhost:8501/
- Change the name
- Navigate to the Temporal dashboard http://localhost:8080/
There are a couple folders here:
common
: Contains business logicactivities
: Contains the activities (building blocks, small actions)workflows
: Contains the workflows (big multi steps, composed of activities)
client
: An example Streamlit app that uses the temporal client to trigger a workflowworker
: A worker which runs the workflows and activities