# temporalio/sdk-python

Temporal Python SDK

Repository: https://github.com/temporalio/sdk-python
Canonical: https://ross.abutalabs.com/products/sdk-python
Language: Python
License: MIT
License Family: permissive
Topics: durable-execution, open-source, python, temporal-sdk, microservices, orchestration
Last push: 2026-09-02T20:18:42+00:00

## Health v2 (maintenance only)
Score: 100/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 99, longevity 100
- inputs: {"age_days": 1682, "days_push": 0, "days_rel": 9, "gap_med": 16, "n_releases_24m": 38}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1177, forks 232 (observed 2026-09-03T02:15:18.466316+00:00)

## What it is
The official Temporal SDK for Python, a framework for authoring durable workflows and activities that execute as fault-tolerant, long-running business logic on the Temporal orchestration engine. It provides type-safe workflow definitions, a custom distributed asyncio event loop, and support for async, threaded, and multiprocess activities.

## Use cases
- write durable long-running workflows in python
- orchestrate microservices with fault-tolerant task execution
- build reliable background job processing with retries
- run distributed sagas and multi-step business logic
- implement cron-like scheduled workflows that survive failures
- integrate ai agents with durable execution using openai agents sdk

## When to choose
- you need workflows that survive process crashes and infrastructure failures
- you are building python services on the Temporal platform
- you want type-safe orchestration with asyncio integration
- you need long-running, stateful business logic without managing your own state store

## When to avoid
- you need simple one-shot task queues without durability guarantees
- you are not running or cannot access a Temporal service cluster
- your logic is short-lived and stateless where a plain queue suffices
- you need a workflow engine in a language other than python

## Facets
- artifact type: framework
- maturity: active
- function: workflow-automation, concurrency, microservices, sdk
- domain: developer-tools, backend, microservices
- platform: python, cross-platform
- tags: durable-execution, temporal, orchestration, workflows, activities, asyncio, automation

## Member repositories
- temporalio/sdk-python (main) score 100

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:18.466316+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:33.272351+00:00, confidence not recorded.
  - readme: https://github.com/temporalio/sdk-python (fetched 2026-09-03T02:15:18.466316+00:00, sha c9702526ccd5)
- Data as of 2026-08-30T08:39:29.467469+00:00.
