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()
Metadata
Release files for joplan 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| joplan-0.1.0.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| joplan-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.0 kB
Release files / joplan-0.1.0.tar.gz
| Download URL | joplan-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
38fd2b63fd94312a8b1e2c7e8d3f66e87c40e54690e35576c0ef3ec7f68821dc
|
|
BLAKE2b-256 checksum How to use checksums |
2c5833bb169d4daa50aa409f044399dc97b6f792eb1017fa883ae2ea8ebc160a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.13 Linux/5.13.0-1031-azure
|
Release files / joplan-0.1.0-py3-none-any.whl
| Download URL | joplan-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9375b2a09c5238d207c0bddf8e64186f0ffb2b3f7be9b6b804f8fa84d924583b
|
|
BLAKE2b-256 checksum How to use checksums |
af1351e74831c62c0abf3647214f27b288deb66c7bef58a3d3bee9b3785d819b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.13 Linux/5.13.0-1031-azure
|