mltrip-runner

Simple directed acyclic graph (DAG) implementation based on concurrent.futures


License
MIT
Install
pip install mltrip-runner==0.0.8

Documentation

runner

Simple DAG (Directed Acyclic Graph) implementation based on python concurrent.futures

Installation

Runner only

  1. Download and install Python
  2. Install runner
pip install mltrip-runner
  1. Download JSON or YAML DAG example
  2. Plot DAG
python -m runner action.json --plot

or

python -m runner action.yml --plot

action 5. Run DAG

python -m runner action.json

or

python -m runner action.yml

With runner-hub

  1. Download and install Python
  2. Download or clone runner-hub
git clone https://github.com/PC-Trip/runner-hub.git
  1. Install some requirements.txt
cd runner-hub/runner_hub/gmsh
pip install -r requirements.txt
  1. Plot some DAG
cd runner-hub/runner_hub/gmsh/tenex/container_simple/dag
python -m runner optimize/optimize.json --plot

action 5. Run some DAG

cd runner-hub/runner_hub/gmsh/tenex/container_simple/dag
python -m runner optimize/optimize.json
  1. See results
cd runner-hub/runner_hub/gmsh/tenex/container_simple/dag/work