temporalio
Temporal.io Python SDK
Decision gist · record as of 2026-08-14
Yes. Temporal is actively maintained, well-established (top 1000 PyPI packages by downloads), has no known vulnerabilities, and solves a genuine problem in distributed systems. The MIT license is permissive. Medium install friction is acceptable for a framework of this scope. Install if you need durable, fault-tolerant workflow orchestration; skip if your use case is simple task queuing or one-off async jobs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later; a running Temporal server instance is needed to execute workflows.
- Medium install friction due to compiled wheels for multiple platforms.
- Active maintenance with recent releases; last commit 2026-08-13 and 1162 repository stars indicate ongoing development and community use.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most production deployments.
last release 2026-07-29 (16 days) · last repo commit 2026-08-13 · 1,162 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 30,412,282 downloads/mo, #801 on PyPI
Alternatives
Verify before relying
pip install temporalio
from temporalio import activity, workflow
from datetime import timedelta
@activity.defn
def say_hello(name: str) -> str:
return f"Hello, {name}!"
@workflow.defn
class SayHello:
@workflow.run
async def run(self, name: str) -> str:
return await workflow.execute_activity(
say_hello, name, schedule_to_close_timeout=timedelta(seconds=5)
)- Whether OpenAI Agents SDK integration is production-ready or still in preview as stated in description.
- Performance characteristics and scalability limits for high-volume workflow execution.
- Specific requirements for running Temporal server and cluster setup complexity.
What it is and what it does
Temporal Python SDK is a framework for authoring workflows and activities that run on the Temporal orchestration engine. It turns async Python functions into durable, distributed workflows backed by a fault-tolerant event loop, allowing long-running business logic to survive failures through automatic replay and retry. The SDK integrates with asyncio, supporting async, threaded, and multiprocess activity execution patterns.
Workflows are defined as async functions decorated with @workflow.defn, and activities as functions decorated with @activity.defn. The framework handles task management, sleep, cancellation, and state persistence transparently. It provides type-safe workflow invocation through generics and MyPy support, custom data conversion (including Pydantic support), signal and update handlers, child workflows, timers, and built-in testing utilities with automatic time skipping.
Use it for
- Orchestrating multi-step business processes that span hours or days with automatic failure recovery and retry logic.
- Building resilient microservice workflows where individual steps may fail but the overall process completes reliably.
- Scheduling and executing long-running data processing or ETL jobs with built-in checkpointing and resumption.
- Implementing saga patterns for distributed transactions across multiple services with compensation on failure.
- Creating approval workflows or human-in-the-loop processes that pause and resume based on external signals.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Temporal is actively maintained, well-established (top 1000 PyPI packages by downloads), has no known vulnerabilities, and solves a genuine problem in distributed systems. The MIT license is permissive. Medium install friction is acceptable for a framework of this scope. Install if you need durable, fault-tolerant workflow orchestration; skip if your use case is simple task queuing or one-off async jobs.
Install
temporalio on PyPI
Before you install
Medium install friction due to compiled wheels for multiple platforms. Active maintenance with recent releases; last commit 2026-08-13 and 1162 repository stars indicate ongoing development and community use.
Requires Python 3.10 or later; a running Temporal server instance is needed to execute workflows.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most production deployments.
Quickstart
pip install temporalio
from temporalio import activity, workflow
from datetime import timedelta
@activity.defn
def say_hello(name: str) -> str:
return f"Hello, {name}!"
@workflow.defn
class SayHello:
@workflow.run
async def run(self, name: str) -> str:
return await workflow.execute_activity(
say_hello, name, schedule_to_close_timeout=timedelta(seconds=5)
)
Verify before relying
- Whether OpenAI Agents SDK integration is production-ready or still in preview as stated in description.
- Performance characteristics and scalability limits for high-volume workflow execution.
- Specific requirements for running Temporal server and cluster setup complexity.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Medium. Platform-specific wheel |
| Runtime dependencies | 5 packagesnexus-rpcprotobufpython-dateutiltypes-protobuftyping-extensions |
| Maintenance | Actively maintained 16 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 30,412,282 / month, #801 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14 |
Evidence: temporalio-1.31.0-cp310-abi3-macosx_10_12_x86_64.whl; temporalio-1.31.0-cp310-abi3-macosx_11_0_arm64.whl; temporalio-1.31.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; temporalio-1.31.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; temporalio-1.31.0-cp310-abi3-musllinux_1_2_aarch64.whl; temporalio-1.31.0-cp310-abi3-musllinux_1_2_x86_64.whl; temporalio-1.31.0-cp310-abi3-win_amd64.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “async workflow framework”
- temporalioTemporal Python SDK provides a framework for building durable,…
- flyteFlyte is a Python SDK for defining, orchestrating, and executing ML…
- llama-index-workflowsAn async-first, event-driven framework for orchestrating multi-step…
Give your agent the search over MCP, or paste the wish link into any chat.
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework that enables you to define and call remote procedures across network boundaries using protocol buffers for serialization.
Install it if you need RPC communication in a distributed system or are integrating with existing gRPC services.
execnet lets you spawn and communicate with Python interpreters across local processes, remote hosts, and different platforms, using a simple API for task distribution and inter-process messaging.
However, the aging maintenance status (275 days since last release) means you should verify it meets your concurrency and performance needs before committing to a…
Cloudpickle extends Python's standard pickle module to serialize lambda functions, interactively-defined functions and classes, and other constructs that the default pickle cannot handle, making it suitable for cluster computing and remote code execution.
Install it if you need to serialize lambda functions, interactively-defined code, or non-standard Python constructs for cluster computing or distributed execution.
Provides a unified, open()-compatible Python API for streaming large files from remote storage (S3, GCS, Azure, HDFS, SFTP, HTTP) and local filesystems, with transparent compression support.
Install it if you work with large files on cloud storage or remote systems and want to avoid writing boilerplate around multiple SDKs.
Portalocker provides cross-platform file locking with support for exclusive and shared locks, plus Redis-based distributed locks and process-aware PID file locking.
Install it if you need file or process coordination; the optional extras (pywin32, redis) are only required for specific lock types.
Ray is a distributed computing framework that scales Python applications from a single machine to multi-node clusters, providing abstractions for parallel tasks, stateful actors, and shared objects.
See also dbos · simpleflow · conductor-python · gen-worker · mistralai-workflows · agent-framework-durabletask · durabletask · azure-functions-durable · durabletask.azuremanaged · langgraph