Python Simple Job Scheduling.
Project description
JoPlan - Arrange Jobs as Plan
Installation
$ pip install joplan
Usage
Demo 1
import logging
from joplan import take, do, every
logging.basicConfig(level=logging.INFO)
def f1():
print('Making F1')
def f2():
print('Making F2')
take(
every('2s').do(f1),
every('3s').do(f2),
).run()
Demo 2
from joplan import take, do, every
take(
do('pkg.mod.func1').every('5s'),
do('pkg.mod.func2').every('3m'),
).run()
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
joplan-0.1.0.tar.gz
(3.9 kB
view hashes)
Built Distribution
joplan-0.1.0-py3-none-any.whl
(4.0 kB
view hashes)