A function based scheduler based on the async event loop.
Project description
python-async-scheduler
A small scheduler which is intended to run asynchronously alongside a WSGI. Jobs can be implemented with the Job class and these are run in the context of a target function, specified at the scheduler level.
Setup
pip install light-async-scheduler
to install the package.from async_scheduler import Scheduler
to get the scheduler.scheduler = Scheduler(target_coroutine_or_function)
configures the function the scheduler will use.scheduler.start()
This project is a work in progress and so any issues or features to add would be happily appreciated! You can find this project here.
Todo:
- Write tests
- Add a
requirments.txt
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 Distribution
File details
Details for the file light-async-scheduler-0.0.2.tar.gz
.
File metadata
- Download URL: light-async-scheduler-0.0.2.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b815a4b70d8d425d9bf8eaee7e6a3b7e5ea4ef7f97615151eb1c6811c8c85687 |
|
MD5 | 50bbf7a9dc5641e590d3c55867e94f19 |
|
BLAKE2b-256 | 27c18ec74c6b030c76378677b6baee78cdb37ecbf017ae032fd022ab1d64c352 |
File details
Details for the file light_async_scheduler-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: light_async_scheduler-0.0.2-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.9.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 54d6fc73197c01ea25d4fb1082eb87d945f4c0189a27259d765d24dd6a562a1d |
|
MD5 | 1e5b7fad21b077f2ed84c82c1499e42d |
|
BLAKE2b-256 | 529fce36e2a1ed6f8e5ca32745fd2a73ddd431dc307152aac2d4787dcd5fe1b1 |