Discover and explore top open-source AI tools and projects—updated daily.
temporalioDurable execution samples for Python applications
Top 77.6% on SourcePulse
This repository provides a comprehensive collection of sample applications demonstrating the capabilities of the Temporal Python SDK. It targets developers building durable, scalable, and fault-tolerant applications using Temporal, offering practical examples to accelerate learning and adoption of advanced features. The samples showcase core Temporal concepts and integrations, serving as a valuable resource for understanding SDK usage patterns.
How It Works
The project organizes numerous Python scripts, each illustrating a specific Temporal feature or integration. These samples are designed to be run within a Python environment managed by uv, requiring a local Temporal server and the Temporal CLI. The core approach involves executing workflow and activity code, demonstrating concepts such as asynchronous operations, retries, cancellation, child workflows, signals, queries, and advanced patterns like external storage and encryption.
Quick Start & Requirements
uv sync to install dependencies, then uv run <sample_path> to execute samples (e.g., uv run hello/hello_activity.py).>= 3.10 (3.13 recommended), uv package manager, Temporal CLI, and a local Temporal server.Highlighted Details
Maintenance & Community
No specific details regarding maintainers, community channels (e.g., Discord/Slack), or roadmaps are present in the provided text.
Licensing & Compatibility
The license type and compatibility notes for commercial use are not specified in the provided text.
Limitations & Caveats
Some samples require additional, non-default dependencies that must be installed per-directory. The pydantic_converter_v1 sample is specifically for Pydantic v1 models, with pydantic_converter recommended for v2. An "Experimental Test" section is noted, suggesting potential instability in testing infrastructure.
2 days ago
Inactive
run-llama
portiaAI
temporalio
langchain-ai