An easy-to-use python package for running tasks with dependencies, conditional execution, and resource management
Python C++ Makefile
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
taskrun
test
.gitignore
LICENSE
Makefile
README.md
pylintrc
setup.py

README.md

taskrun

Summary

An easy-to-use python package for running tasks with dependencies, conditions, and resource management. It supports function tasks and process tasks. The interface is extensible so any custom Task can be implemented. Resource management consists of generic resources via counters and memory resource enforcement. Tasks can have conditional execution based on file dependencies, function conditions, or any other custom condition. Tasks can have other tasks as dependencies.

Install

Taskrun requires Python 3.4+

Python package manager (PIP)

Install globally:

sudo pip3 install git+https://github.com/nicmcd/taskrun.git

Install locally:

pip3 install --user git+https://github.com/nicmcd/taskrun.git

Source installation

Install globally:

sudo python3 setup.py install

Install locally:

python3 setup.py install --user

Uninstall

Uninstall global installation:

sudo pip3 uninstall taskrun

Uninstall local installation:

pip3 uninstall taskrun

Test

make test

Benchmark

make benchmark

Tutorial

TBD