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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file mltrip-runner-0.1.7.tar.gz.

File metadata

  • Download URL: mltrip-runner-0.1.7.tar.gz
  • Upload date:
  • Size: 29.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for mltrip-runner-0.1.7.tar.gz
Algorithm Hash digest
SHA256 9342ad37a796694fd0f335e41fb3e759c4f4cf0d8d665df56369e7c732dea928
MD5 f6ea3c5cef9766609cb016d7864df5d8
BLAKE2b-256 63d5d3534d9dec5afef78ac78da21f569031436c7ab8f17617b8227200aa960e

See more details on using hashes here.

File details

Details for the file mltrip_runner-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: mltrip_runner-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 54.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.10

File hashes

Hashes for mltrip_runner-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 761337ae9970a1ccd9960fbeb7d9326d23c6c6696b3b2fb20315894fb8f6e9af
MD5 3541608b25bfc7f759aabb1e4e76c672
BLAKE2b-256 f6b452a3cd50e0ed7f1118aecc6a562df02688603ff841f5fd22e0e70550168b

See more details on using hashes here.

Supported by

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