Skip to main content

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

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mltrip-runner-0.1.7.tar.gz (29.2 kB view hashes)

Uploaded Source

Built Distribution

mltrip_runner-0.1.7-py3-none-any.whl (54.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page