minidag
Bare minimum DAG implementation for in-process sorting of jobs with dependency injection. Runs jobs in topological order.
Install:
pip install minidag
Usage:
from minidag import MiniDAG
dag = MiniDAG()
@dag.job()
def job1():
return 1
@dag.job()
def job2(job1):
return job1 + 1
@dag.job()
def job3(job1, job2):
return job1 + job2
@dag.job()
def job4(some_external_value, job3)
return some_external_value + job3
dag.run(some_external_value=10)
# > {'job1': 1, 'job2': 2, 'job3': 3, 'job4': 13, 'some_external_value': 10}
Metadata
Release files for minidag 0.1.1
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 |
|---|---|---|---|---|
| minidag-0.1.1.tar.gz | 2.4 kB | Without provenance | Details for minidag-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| minidag-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for minidag-0.1.1-py3-none-any.whl |
Total release size: 5.0 kB
Release files / minidag-0.1.1.tar.gz
| Download URL | minidag-0.1.1.tar.gz |
|---|---|
| Size | 2.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
af6f56e0f719b380b5e4c4928d1ef174f98df3d07949e0f30576a78a3128bb82
|
|
BLAKE2b-256 checksum How to use checksums |
58ad6ecebdbae35e18a5e162fc2006c6a0400d489cbf652e3db8aceefe0c428b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Release files / minidag-0.1.1-py3-none-any.whl
| Download URL | minidag-0.1.1-py3-none-any.whl |
|---|---|
| Size | 2.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e43e99825eed67ebee7a1a56bf53d1cd6ed4622657b528e0db40f4ab36235207
|
|
BLAKE2b-256 checksum How to use checksums |
70b737580a4c6a77f2edb8086dee582f87cb1e672cb5320792826b84d68ee351
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for minidag 0.1.1
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.