Skip to main content

Django simple queue

It is a very simple app which uses database for managing the task queue.

Installation

pip install django-simple-queue

Set up

  • Add django_simple_queue to INSTALLED_APPS in settings.py
  • Add the following to urls.py in the main project directory.
path('django_simple_queue/', include('django_simple_queue.urls')),
  • Apply the database migrations

Usage

Start the worker process as follows:

python manage.py task_worker

Use from django_simple_queue.utils import create_task for creating new tasks. e.g.

create_task(
    task="full_path_of_function",
    args={"arg1": 1, "arg2": 2} # Should be a dict object
)

The task queue can be viewed at /django_simple_queue/task

Metadata

Release files for django-simple-queue 0.1.10

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-simple-queue 0.1.10
File Size Uploaded
django-simple-queue-0.1.10.tar.gz 6.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-simple-queue 0.1.10
File Interpreter ABI Platform
django_simple_queue-0.1.10-py3-none-any.whl Python 3 none any Details

Total release size: 15.7 kB

Release files / django-simple-queue-0.1.10.tar.gz

Download URL django-simple-queue-0.1.10.tar.gz
Size 6.9 kB
Tags Source
SHA-256 checksum
How to use checksums
60f759995f73bb9fb73b37d94b4466adfcc402fb61c3f10b8f2d104dc3ce6842
BLAKE2b-256 checksum
How to use checksums
3b681755fdb221178e3b42ce37b4ec110315b7157eeb50312563ba7502d85315
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.6

Release files / django_simple_queue-0.1.10-py3-none-any.whl

Download URL django_simple_queue-0.1.10-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
048172b935b7b29997fb89508fa21d445373a0450372eb0ca8b307431dfd2faf
BLAKE2b-256 checksum
How to use checksums
3e329e5e157aaf476e77cce121ec067e6797b5b66138057681a5993e1df0376e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.0.1 CPython/3.9.6

Release history Release notifications | RSS feed

This release

0.1.10 This release

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page