Skip to content

devtud/aiocronjob

Repository files navigation

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