This package focus on build a task scheduler via Python. With TaskScheduler you can define a project with tasks which have some dependency on each other, and run this project.
Project description
TaskScheduler (TS)
Branch | Build | Coverage |
---|---|---|
master | ||
dev |
Introduction
This package focus on build a task scheduler via Python scripts. With TaskScheduler you can define a project with tasks which have some dependency on each other, and run this project.
A task means a runnable job: bash command, python callable. A task can produce files. Task can depend on other tasks or files.
TS is able to run tasks and automatically run dependency tasks when necessary.
A task need to be rerun when:
- its dependency tasks reran after target filed last updated
- its dependency files updated after target filed last updated
An example
The example is given in examples/complex_experiment
.
With ``
Install
pip install PyTaskScheduler
or
git clone https://github.com/lizeyan/TaskScheduler.git
cd TaskScheduler
python setup.py install
Usage
ts --help
Development Setup
pip install -r requirements-dev.txt
Contributing
TODO Features
- record function outputs
- function style examples
- lazy evaluation task templates
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for PyTaskScheduler-0.0.1.2-py3.7.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f3bb4347f53d7843b5e142587c517268269feafbb4da11a8f93111c1bdceb116 |
|
MD5 | ac414c275f19b321fcfc7bcd30ef319f |
|
BLAKE2b-256 | 5d36cc5da734f7d1d35b40e6613e568730f38877015989d65c2d460c873d493d |
Hashes for PyTaskScheduler-0.0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b79a7d6c0350174ea321060640aef368929f154767172d795ec2ae0d64c56d60 |
|
MD5 | 4381f1faece0342145646eeba5d975d2 |
|
BLAKE2b-256 | c3ae867ae4635b8380bb5d157271fef5a6e34941a37488b8bc337844aee824c4 |