Skip to main content

Schedule async tasks and manage them using a REST API or WEB UI

Project description

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

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

aiocronjob-0.7.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

aiocronjob-0.7.0-py3-none-any.whl (9.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page