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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file aiocronjob-0.7.0.tar.gz.

File metadata

  • Download URL: aiocronjob-0.7.0.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.2.1 CPython/3.10.9

File hashes

Hashes for aiocronjob-0.7.0.tar.gz
Algorithm Hash digest
SHA256 7265679bfd337c38c449f6995113ea2926e416f670b42fbdb35dd28ea8e1cd8a
MD5 acdb843150d59ec1269a4647f313ed2e
BLAKE2b-256 7cf98a2f075396557ef29f7a28faa342363ba21c879aab11f44add3e00ae910a

See more details on using hashes here.

File details

Details for the file aiocronjob-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: aiocronjob-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.2.1 CPython/3.10.9

File hashes

Hashes for aiocronjob-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 506ed75ed027e9da46c287423a6025da002d4d28ecb6646195f8ff63db46b653
MD5 2ffbd2d5dbfe92784704b3c18219e10f
BLAKE2b-256 d75539446c8a4cec796cf028755872936c4db893e044dfb97614131c607c85f1

See more details on using hashes here.

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