A Django-based result backend for Dramatiq.
Project description
Django Dramatiq Result Backend
A Django-based ResultBackend for Dramatiq.
Features
- Store and retrieve task results using Django's ORM.
- Automatically handle result expiration.
Installation
pip install django-dramatiq-result-backend
Usage
Configure Django
Add django_dramatiq_result_backend to your INSTALLED_APPS in settings.py.
Configure Dramatiq Result Backend
# settings.py
DRAMATIQ_RESULT_BACKEND = {
"BACKEND": "django_dramatiq_result_backend.backends.DjangoDramatiqResultBackend",
"OPTIONS": {
"model": "django_dramatiq_result_backend.Result",
"expiration": 30 * 60 * 60 * 24, # 30 days
},
}
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
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_dramatiq_result_backend-0.1.4.tar.gz.
File metadata
- Download URL: django_dramatiq_result_backend-0.1.4.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d178c7242ca9283d941e1555f4de8d2593381b87c3a090a1db9ac0f30eff5952
|
|
| MD5 |
5130f324efe43f1d0a2f38775f516890
|
|
| BLAKE2b-256 |
3f206513ef4e25058a96ddbe8b088947c67d26000cf4822a66a8328fa6d957ea
|
File details
Details for the file django_dramatiq_result_backend-0.1.4-py3-none-any.whl.
File metadata
- Download URL: django_dramatiq_result_backend-0.1.4-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a7a590bb266e9673b52251f81a98d72f845a72d9c1c7dce8ce568b6a8f4e091
|
|
| MD5 |
f5ac16f38ac8ebfc6ff885b4cb72b565
|
|
| BLAKE2b-256 |
a4229a1e95fa9405f1a8c3937b4f034da199306f1178d700789a8461d6e5fd8b
|