Skip to content

Latest commit

 

History

History
61 lines (40 loc) · 1.71 KB

README.md

File metadata and controls

61 lines (40 loc) · 1.71 KB

aiocronjob

Join the chat at https://gitter.im/aiocronjob/community PyPI - Python Version PyPI PyPI - License GitHub last commit PyPI - Status Tests Codecov

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

See examples/simple_tasks.py

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