aws-durable-execution-sdk-python
AWS Durable Execution SDK for Python
Decision gist · record as of 2026-08-14
Yes, if you are building multi-step workflows on AWS Lambda and need automatic checkpointing and replay. The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe addition. Beta status means the API may evolve, but the SDK is in active use. Not necessary for simple single-step Lambda functions or if you already use alternative orchestration tools.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; designed for AWS Lambda runtime environment with boto3 available.
- Low install friction; single pure-Python wheel dependency on boto3.
- Active maintenance with recent releases; repo is not archived and receives commits.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and proprietary projects.
last release 2026-07-09 (36 days) · last repo commit 2026-08-14 · 52 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 210,938 downloads/mo, #9,487 on PyPI
Alternatives
Verify before relying
pip install aws-durable-execution-sdk-python
from aws_durable_execution_sdk_python import DurableContext, durable_execution, durable_step
@durable_step
def validate_order(step_ctx, order_id: str) -> dict:
return {"order_id": order_id, "valid": True}
@durable_execution
def handler(event: dict, context: DurableContext) -> dict:
validation = context.step(validate_order(event["order_id"]), name="validate")
return {"status": "approved", "order_id": event["order_id"]}- Whether checkpointing and replay work correctly across all Lambda pause/restart scenarios in production
- Performance overhead of automatic checkpointing on workflow latency and cost
- Compatibility with Lambda layers, container images, and other deployment models beyond standard zip packages
- Maximum timeout limits for durable workflows and whether they can exceed typical Lambda execution windows
What it is and what it does
This is an AWS SDK for building durable, long-running workflows inside Lambda functions that can survive Lambda pauses, timeouts, and restarts. It provides decorators and context objects to define steps with retry logic, waits for time or external callbacks, and parallel fan-out operations, all with automatic checkpointing so execution can resume from where it left off rather than restarting from the beginning. The SDK handles deterministic replay internally so that side effects don't duplicate and logging is de-duplicated.
You write Lambda handlers using the `@durable_execution` decorator and define individual work units as `@durable_step` functions, then call them through the context's `step()`, `wait()`, and parallel methods. The SDK depends only on boto3 and runs as pure Python, making it straightforward to add to existing Lambda projects. It's in active development (Beta status) and supported on Python 3.11, 3.12, 3.13, and 3.14.
Use it for
- Multi-step order processing workflows that need to pause for approval or payment confirmation without blocking Lambda execution
- ETL pipelines that checkpoint progress and resume after failures without reprocessing completed batches
- Approval chains or human-in-the-loop processes that wait for external callbacks before proceeding to the next step
- Parallel fan-out tasks with configurable completion criteria across multiple concurrent operations
- Complex state machines that require structured subflows and isolated execution contexts
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building multi-step workflows on AWS Lambda and need automatic checkpointing and replay.
The low install friction, active maintenance, permissive license, and zero known vulnerabilities make it a safe addition. Beta status means the API may evolve, but the SDK is in active use. Not necessary for simple single-step Lambda functions or if you already use alternative orchestration tools.
Install
aws-durable-execution-sdk-python on PyPI
Before you install
Low install friction; single pure-Python wheel dependency on boto3. Active maintenance with recent releases; repo is not archived and receives commits. Beta status (Development Status :: 4) indicates the SDK is still stabilizing but in active use.
Requires Python 3.11 or later; designed for AWS Lambda runtime environment with boto3 available.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; suitable for most production and proprietary projects.
Quickstart
pip install aws-durable-execution-sdk-python
from aws_durable_execution_sdk_python import DurableContext, durable_execution, durable_step
@durable_step
def validate_order(step_ctx, order_id: str) -> dict:
return {"order_id": order_id, "valid": True}
@durable_execution
def handler(event: dict, context: DurableContext) -> dict:
validation = context.step(validate_order(event["order_id"]), name="validate")
return {"status": "approved", "order_id": event["order_id"]}
Verify before relying
- Whether checkpointing and replay work correctly across all Lambda pause/restart scenarios in production
- Performance overhead of automatic checkpointing on workflow latency and cost
- Compatibility with Lambda layers, container images, and other deployment models beyond standard zip packages
- Maximum timeout limits for durable workflows and whether they can exceed typical Lambda execution windows
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packageboto3 |
| Maintenance | Actively maintained 36 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 210,938 / month, #9,487 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaProgramming Language :: PythonProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: aws_durable_execution_sdk_python-1.7.0-py3-none-any.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 › “aws lambda durable workflows”
- aws-durable-execution-sdk-pythonBuilds long-running AWS Lambda workflows with automatic…
- aws-lambda-buildersCompiles, builds, and packages AWS Lambda functions across multiple…
- aws-psycopg2Provides psycopg2 with statically linked PostgreSQL libraries for use…
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 azure-functions-durable · restate-sdk · dbos · absurd-sdk · pydantic-ai-absurd · durabletask · conductor-python · durabletask.azuremanaged · kailash-enterprise · agent-framework-azurefunctions