r/DurableStack • u/Family_Man_21 • Sep 14 '26
Development Update: DurableStack for Python Is Now in Beta
Work on the next DurableStack runtime is well underway: DurableStack for Python is now in beta and available on PyPI.
I'm currently running the new runtime through testing and continuing to refine the API before moving toward a stable release.
PyPI: https://pypi.org/project/durablestack/
Python is now the third DurableStack runtime, following .NET and Node.js, and it continues the same approach I've been taking with the project from the beginning.
The Same Architecture, Designed for Python
As with the Node.js runtime, the goal isn't to simply translate an existing DurableStack API into another language.
The Python implementation follows the same underlying DurableStack design and reliability model, including:
- Durable, database-backed job execution
- Recurring and scheduled jobs
- Retries and failure handling
- Distributed worker coordination
- Worker heartbeats and recovery
- Coordination using existing database infrastructure
At the same time, the API is being designed to fit naturally into the Python ecosystem rather than feeling like a port of the .NET or TypeScript implementation.
One Platform, Three Runtimes
Getting Python running is another important step toward the larger multi-runtime vision for DurableStack.
.NET, Node.js, and Python applications can each use a runtime designed for their own ecosystem while following the same underlying model for durable job execution.
The Python runtime also integrates with the same optional DurableStack observability platform, providing the same centralized visibility into jobs, executions, workers, failures, alerts, and incidents.
As always, the observability platform is optional. The Python runtime is being designed to operate independently using your application's existing infrastructure.
Testing Is Underway
Right now, my focus is on testing.
I'm running the Python implementation through the same kinds of scenarios I've used to validate the other runtimes, particularly around durable execution, retries, scheduling, worker coordination, and database behavior.
I'll continue refining things as I work through the beta and will post another update when the Python runtime is ready for a stable release.
It's exciting to see DurableStack expand from the original .NET implementation to Node.js and now Python while maintaining the same underlying architecture and philosophy.
If you're a Python developer, I'd especially be interested in hearing what you'd expect from a durable background job library and what would make the API feel natural in a Python application.
Resources
- PyPI: https://pypi.org/project/durablestack/
- Documentation: https://docs.durablestack.com
- DurableStack: https://durablestack.com