Advanced scheduling framework
Project description
Red Engine
Advanced scheduling system.
What is it?
Red Engine is a Python scheduling library with a focus on productivity, readability and extendability. It has powerful and intuitive scheduling syntax that is easy to extend with custom scheduling conditions. It allows various levels of parallelization and various ways to parametrize tasks. It is suitable for simple to moderately sized projects from process automatization to IOT.
Read more from the documentations: Red Engine, documentations
Core Features
- Scheduling: intuitive scheduling syntax.
- All of these are valid instructions for scheduling a task:
daily
every 2 hours, 10 minutes
weekly between Tuesday and Wednesday & after task 'another task'
- All of these are valid instructions for scheduling a task:
- Parallelization: run tasks in child processes or threads.
- Parametrization: parametrize individual tasks or share them between the session.
- Easy start: just install the package, use the premade configurations and minimize boilerplate.
- Extendable: everything is just a building block and the most is made to be modified.
Installation
pip install redengine
How it looks like
from redengine.tasks import FuncTask
from redengine import Session
session = Session()
@FuncTask(start_cond="daily between 10:00 and 15:00")
def my_task_1():
... # Do whatever.
@FuncTask(start_cond="after task 'my_task_1'")
def my_task_2():
... # Do whatever.
# Start scheduling
session.start()
Author
- Mikael Koli - Miksus - koli.mikael@gmail.com
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
redengine-1.0.0.tar.gz
(176.2 kB
view details)
Built Distribution
redengine-1.0.0-py3-none-any.whl
(244.4 kB
view details)
File details
Details for the file redengine-1.0.0.tar.gz
.
File metadata
- Download URL: redengine-1.0.0.tar.gz
- Upload date:
- Size: 176.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 396fd57bbb27bbe90551f657aa4a66f4c9b33cd42723f912a97f90aed4429208 |
|
MD5 | 05cb32eb51c89f0fa5f04627768a79d8 |
|
BLAKE2b-256 | 3a2e8bfd6ee4b1e1abfaec9f7878acacefcd1153926aef0fbc0396c731309364 |
File details
Details for the file redengine-1.0.0-py3-none-any.whl
.
File metadata
- Download URL: redengine-1.0.0-py3-none-any.whl
- Upload date:
- Size: 244.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ef2ae5fd6fb5099f3d30df21fb8d6be16b88110332cd837f7f2795b3f56fd3b1 |
|
MD5 | 908fc5c4d8f13123f5351cc614a5a597 |
|
BLAKE2b-256 | 88139b1fdc7e6233fcd1ce31ac0707ae93406a65fa22a52c8fc5b46e26dfe2ef |