django-background-tasks

Database backed asynchronous task queue


Keywords
background-jobs, background-sync, background-thread, django, python, queue, queueing
License
BSD-3-Clause
Install
pip install django-background-tasks==1.1.8

Documentation

Django Background Tasks

Build Status Coverage Status Documentation Status PyPI

Django Background Task is a database-backed work queue for Django, loosely based around Ruby's DelayedJob library. This project was adopted and adapted from lilspikey django-background-task.

To avoid conflicts on PyPI we renamed it to django-background-tasks (plural). For an easy upgrade from django-background-task to django-background-tasks, the internal module structure were left untouched.

In Django Background Task, all tasks are implemented as functions (or any other callable).

There are two parts to using background tasks:

  • creating the task functions and registering them with the scheduler
  • setup a cron task (or long running process) to execute the tasks

Docs

See Read the docs.

Donations

django-background-tasks is free software. If you find it useful and would like to give back, please consider to make a donation using Bitcoin or Paypal. Thank you!