Not every Python service is a web app. Many systems are composed of multiple independently long-running units — think of an ETL service with a data poller, a transformer, and a result notifier, each with its own lifecycle, failure modes, and recovery needs. Wiring this by hand with retry loops, watchdog threads, and scattered state flags brittle glue code that is hard to reason about.
Runsmith brings structure to this problem. Each unit becomes a worker with an explicit FSM lifecycle. A supervisor tree monitors every worker continuously — detecting stalls and timeouts, not just crashes — and confines restarts to the failed unit so the rest of the system keeps running.
Predictable — every worker lifecycle is declared upfront as an FSM. No hidden control flow.
Composable — supervisors are workers too. Nest them at any depth, freely mixing thread, process, and asyncio execution in one tree.
Resilient — heartbeat, transition, and state-residence timeouts are enforced automatically. Failed workers are restarted within configurable quotas.
Install
pip install runsmith
Documentation
Full documentation, quickstart guide, and examples at https://runsmith.lu-d.com.
Metadata
Release files for runsmith 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| runsmith-1.2.4-py3-none-any.whl | Python 3 | none | any | Details for runsmith-1.2.4-py3-none-any.whl |
Release files / runsmith-1.2.4-py3-none-any.whl
| Download URL | runsmith-1.2.4-py3-none-any.whl |
|---|---|
| Size | 24.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fb631bd53ec51e96068eb805c16c977830537c62a87d899524cfbd4d946f813
|
|
BLAKE2b-256 checksum How to use checksums |
cebfdb45cee35531c23c9213daffea41a007e6c7ee824790b01921504580c65f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.8
|
Security for runsmith 1.2.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.