without-dag
Concurrent execution of DAG-shaped async workflows, liftable into a without
Processor. A Processor[In, Out] is otherwise an opaque stream-to-stream
closure; this package lets the inside of a per-event step be a graph of async
sub-steps that run with bounded concurrency and recombine into one output. It is
the value-level fan-out/fan-in the substrate leaves room for: one input value
drives many concurrent computations.
Graph is the typed frontend: a builder that threads value types through the
wiring so a mismatched dependency is a mypy error and a cycle is unrepresentable.
It compiles once into a CompiledGraph, an async callable reused per event:
from without_dag import Graph
async def fetch(request: Request) -> Fetched: ...
async def parse(fetched: Fetched) -> Parsed: ...
async def render(fetched: Fetched, parsed: Parsed) -> Report: ...
graph, (request,) = Graph.of(Request)
fetched = graph.node("fetched", fetch, request)
parsed = graph.node("parsed", parse, fetched)
report = graph.node("report", render, fetched, parsed)
run = graph.build(output=report, limit=4)
result: Report = await run(some_request)
Each node runs once (memoized, so a diamond's shared ancestor executes a single
time with no glitch), acyclicity is proven at the boundary via stdlib
graphlib, and a single-input graph is an async (In) -> Out callable, exactly
what from_map lifts into a Processor.
A node's key is a name you choose, so it means the same thing after a crash:
run.stream(...) yields each (key, result) as it lands, and handing that mapping
back as run(..., checkpoint=...) skips every step it names. Sink the pairs to a
Redis hash or a table row under a workflow's idempotency key and the graph is a
resumable durable workflow, with no engine underneath it. Resumable is a claim
about one runner over time: running the same workflow from two processes at once
needs the store to say who may write, which is a guarantee the store owns rather
than the graph.
See the
without-dag guide
(with the API reference)
for the full surface: the object-interface execution core (Plan, drive,
evaluate), the typed frontend, resuming from a checkpoint, and lifting into a
processor.
Metadata
Release files for without-dag 0.0.10
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| without_dag-0.0.10.tar.gz | 9.7 kB | Without provenance | Details for without_dag-0.0.10.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| without_dag-0.0.10-py3-none-any.whl | Python 3 | none | any | Details for without_dag-0.0.10-py3-none-any.whl |
Total release size: 21.2 kB
Release files / without_dag-0.0.10.tar.gz
| Download URL | without_dag-0.0.10.tar.gz |
|---|---|
| Size | 9.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b6e147f810d71f5ccde5e285324b4a005d4a619bd0d6954845557e719be68dd5
|
|
BLAKE2b-256 checksum How to use checksums |
1002c6b4c0a22b90b6069f17fdc21bb0568f9f153f5abe420a44da60cdffee5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / without_dag-0.0.10-py3-none-any.whl
| Download URL | without_dag-0.0.10-py3-none-any.whl |
|---|---|
| Size | 11.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8041f4e0c0e3840ea15662e399a77721241e4d6693ff3fbc1964630fbe9c7aa2
|
|
BLAKE2b-256 checksum How to use checksums |
b98e193a9f3c94f96bbc4e93918d34f79c5ff4d93411c4b7dbfe8afbd63cc29f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.23 {"installer":{"name":"uv","version":"0.12.23","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for without-dag 0.0.10
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.