Dagreon
Dagreon is a flexible DAG workflow library for researchers, with persistent results and easy parallel execution.
It lets you define typed task classes, connect them through Python 3.12 type aliases, and compute only the dependencies required for a requested result.
from dagreon import Workflow, task
type Samples = list[float]
type Mean = float
@task
class LoadSamples:
values: tuple[float, ...]
def __call__(self) -> Samples:
return list(self.values)
@task
class ComputeMean:
def __call__(self, samples: Samples) -> Mean:
return sum(samples) / len(samples)
workflow = Workflow([
LoadSamples(values=(1.0, 2.0, 3.0)),
ComputeMean(),
])
result = workflow.run(Mean)
Features
- Typed task graphs built from Python 3.12 type aliases.
- Target-driven execution of only the subgraph needed for a result.
- Per-run task overrides for variants and experiments.
- Optional LMDB-backed result persistence for final requested targets.
- Optional Ray execution through
pip install dagreon[ray]. - Progress bars for variant runs.
Metadata
Release files for dagreon 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| dagreon-0.2.0.tar.gz | 45.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| dagreon-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 57.5 kB
Release files / dagreon-0.2.0.tar.gz
| Download URL | dagreon-0.2.0.tar.gz |
|---|---|
| Size | 45.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d563c496fbe4ff954e0d6f4ef7396e6fac07875475417e342163505fc3404090
|
|
BLAKE2b-256 checksum How to use checksums |
5b8518b296c2ef087b768130d0008d7a6651af75d55cb46918b364061f1247ef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency logRelease files / dagreon-0.2.0-py3-none-any.whl
| Download URL | dagreon-0.2.0-py3-none-any.whl |
|---|---|
| Size | 12.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b004c3b5dee984a2ef6f7ec2fcade26273bc1529d5d052b3fe3edd9d9fa46783
|
|
BLAKE2b-256 checksum How to use checksums |
32f41d306d5ecc26033bf8b55f77ca746b778b895027345b3ad5f95eb45e566c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jul 3, 2026.
Transparency log