Skip to main content

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

django_dramatiq_result_backend-0.1.1.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file django_dramatiq_result_backend-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django_dramatiq_result_backend-0.1.1.tar.gz
Algorithm Hash digest
SHA256 1be20df6c439fed92e58e49694da00e1192e964b71432df5f825b17b9d9a8ae6
MD5 c3d280ceb9bf609a6f543ea8db66cfd2
BLAKE2b-256 b4d1d8dfc63dbe2b94642476dbd37fde02041f4ce78048536fd9ea79112c1906

See more details on using hashes here.

File details

Details for the file django_dramatiq_result_backend-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for django_dramatiq_result_backend-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9795fcf6c17cca30d648b1859b9ba853fb8f2bdd199a159b50e14770a034ed57
MD5 2bbc9875874f97f3901e73ebcc3389ca
BLAKE2b-256 fcce3e1e1525d3f01b1d3c06d93b2a44a1cca00d02d6bd401aa1e98186fe6a03

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page