Skip to main content

Transactional Outbox pattern for Celery tasks in Django

Project description

django-celery-outbox

Tests CodeQL PyPI version Docs License: MIT

Transactional Outbox pattern for Celery tasks in Django.

Features

  • At-least-once delivery guarantee
  • Automatic retry with exponential backoff
  • Dead letter queue for failed messages
  • Structlog & Sentry trace propagation
  • StatsD metrics
  • Django admin integration

Quick Start

pip install django-celery-outbox
# settings.py
INSTALLED_APPS = [..., 'django_celery_outbox']
CELERY_OUTBOX_APP = 'myproject.celery.app'

# celery.py
from django_celery_outbox import OutboxCelery
app = OutboxCelery('myproject')
python manage.py migrate
python manage.py celery_outbox_relay

Full Documentation →

Security

See Security Guide for PII handling, traceback logging, and DLQ retention.

License

MIT

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_celery_outbox-0.2.0.tar.gz (39.0 kB view details)

Uploaded Source

Built Distribution

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

django_celery_outbox-0.2.0-py3-none-any.whl (52.3 kB view details)

Uploaded Python 3

File details

Details for the file django_celery_outbox-0.2.0.tar.gz.

File metadata

  • Download URL: django_celery_outbox-0.2.0.tar.gz
  • Upload date:
  • Size: 39.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for django_celery_outbox-0.2.0.tar.gz
Algorithm Hash digest
SHA256 66d461e2c98d59d49c0bbec0aab7626728f2c71eb3c3f4d59da96eebd09dec56
MD5 ffe4650e4c21c04077834534d4637734
BLAKE2b-256 5396baff34fa071fa66f096d9cbf48ec8eec454daaeb91ef90ab3fad7d81cc03

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_celery_outbox-0.2.0.tar.gz:

Publisher: publish.yml on Barsoomx/django-celery-outbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file django_celery_outbox-0.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for django_celery_outbox-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 13fbf47af0a4a8be49c0088fc072f73c8b674c3290a8e0adb47e46d20ad019c1
MD5 5a4d9db59bfa9658215ab84af6f45569
BLAKE2b-256 7ef9f3734f2cf26edf4b06c395a9abbccf38932a079daa8f111c390d3cc9e673

See more details on using hashes here.

Provenance

The following attestation bundles were made for django_celery_outbox-0.2.0-py3-none-any.whl:

Publisher: publish.yml on Barsoomx/django-celery-outbox

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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