Skip to content

Releases: playbooks-ai/durable-python

v0.1.1

24 Nov 06:40

Choose a tag to compare

durable-python

Make Python async functions durable and resumable with a minimal, pluggable runtime.

Overview

durable-python

This package treats durability as a core runtime concern. Async functions are transformed into a sequence of CodeBlocks that can be checkpointed, paused, and resumed through a DurableRuntime. Everything is open and pluggable: orchestration backends implement a small interface, and persistence is provided through StateStore implementations.

Key primitives:

  • DurableRuntime — drives execution and persistence.
  • CallStack / FunctionCall / CodeBlock — durable execution model.
  • OrchestrationBackend / DurableBackend — orchestration + event waiting.
  • StateStore / InMemoryStateStore / DiskStateStore — persistence.
  • DurableAstTransformer / make_durable — transform async functions into durable programs.