Django based app for Task queue manager using database as the broker.
Project description
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_queueto 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file django-simple-queue-0.1.10.tar.gz.
File metadata
- Download URL: django-simple-queue-0.1.10.tar.gz
- Upload date:
- Size: 6.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60f759995f73bb9fb73b37d94b4466adfcc402fb61c3f10b8f2d104dc3ce6842
|
|
| MD5 |
6bc76f836885f408a2c7c696226f1951
|
|
| BLAKE2b-256 |
3b681755fdb221178e3b42ce37b4ec110315b7157eeb50312563ba7502d85315
|
File details
Details for the file django_simple_queue-0.1.10-py3-none-any.whl.
File metadata
- Download URL: django_simple_queue-0.1.10-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
048172b935b7b29997fb89508fa21d445373a0450372eb0ca8b307431dfd2faf
|
|
| MD5 |
d0b8c89235b92c959cbfc8fa20e7137c
|
|
| BLAKE2b-256 |
3e329e5e157aaf476e77cce121ec067e6797b5b66138057681a5993e1df0376e
|