Metadata-Version: 2.4
Name: mundane-sdk
Version: 0.0.3
Summary: Tiny durable-execution: one workflow run is one SQLite file.
Author: Paul Bellamy
License-Expression: MIT
Project-URL: Homepage, https://github.com/paulbellamy/mundane
Project-URL: Repository, https://github.com/paulbellamy/mundane
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# mundane (Python)

See [`../SPEC.md`](../SPEC.md) for the cross-runtime contract.

```python
import mundane

def workflow(ctx):
    user = ctx.step("fetch", lambda: {"name": "alice"})
    ctx.sleep("cool-off", "100ms")
    ctx.step("notify", lambda: f"hi {user['name']}")

mundane.run("task.db", workflow)
```

An async variant is available: `await mundane.arun(path, async_workflow)`
with `await ctx.astep(...)` / `await ctx.asleep(...)`.

## Implementation notes

- **Stdlib only.** No third-party dependencies — `sqlite3`, `fcntl`
  (for `flock`), `json`, and `uuid` from the standard library.
