Skip to main content

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 Python package Coverage Status
dev Python package Coverage Status

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:

  1. its dependency tasks reran after target filed last updated
  2. 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


Download files

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

Source Distribution

PyTaskScheduler-0.0.1.2.tar.gz (9.8 kB view hashes)

Uploaded Source

Built Distributions

PyTaskScheduler-0.0.1.2-py3.7.egg (29.8 kB view hashes)

Uploaded Source

PyTaskScheduler-0.0.1.2-py3-none-any.whl (13.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