Schedule async tasks and manage them using a REST API or WEB UI
Project description
aiocronjob
Schedule and run asyncio
coroutines and manage them from a web interface or programmatically using the rest api.
Requires python >= 3.8
How to install
pip3 install aiocronjob
Usage example
Rest API
Open localhost:8000/docs for endpoints docs.
curl
example:
$ curl http://0.0.0.0:8000/api/jobs
TBD
Development
Requirements:
- Python >= 3.8 and PDM for backend
Install dependencies
$ git clone https://github.com/devtud/aiocronjob.git
$ cd aiocronjob
$ pdm sync
Run tests
pdm run coverage run -m unittest discover
pdm run coverage report -m
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
aiocronjob-0.7.0.tar.gz
(7.5 kB
view hashes)
Built Distribution
Close
Hashes for aiocronjob-0.7.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 506ed75ed027e9da46c287423a6025da002d4d28ecb6646195f8ff63db46b653 |
|
MD5 | 2ffbd2d5dbfe92784704b3c18219e10f |
|
BLAKE2b-256 | d75539446c8a4cec796cf028755872936c4db893e044dfb97614131c607c85f1 |