Transactional Outbox pattern for Celery tasks in Django
Project description
django-celery-outbox
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
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
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_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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66d461e2c98d59d49c0bbec0aab7626728f2c71eb3c3f4d59da96eebd09dec56
|
|
| MD5 |
ffe4650e4c21c04077834534d4637734
|
|
| BLAKE2b-256 |
5396baff34fa071fa66f096d9cbf48ec8eec454daaeb91ef90ab3fad7d81cc03
|
Provenance
The following attestation bundles were made for django_celery_outbox-0.2.0.tar.gz:
Publisher:
publish.yml on Barsoomx/django-celery-outbox
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_celery_outbox-0.2.0.tar.gz -
Subject digest:
66d461e2c98d59d49c0bbec0aab7626728f2c71eb3c3f4d59da96eebd09dec56 - Sigstore transparency entry: 1281990099
- Sigstore integration time:
-
Permalink:
Barsoomx/django-celery-outbox@200081bf8d7e8b78606fbfc501014ad24f94bd4e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Barsoomx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@200081bf8d7e8b78606fbfc501014ad24f94bd4e -
Trigger Event:
push
-
Statement type:
File details
Details for the file django_celery_outbox-0.2.0-py3-none-any.whl.
File metadata
- Download URL: django_celery_outbox-0.2.0-py3-none-any.whl
- Upload date:
- Size: 52.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13fbf47af0a4a8be49c0088fc072f73c8b674c3290a8e0adb47e46d20ad019c1
|
|
| MD5 |
5a4d9db59bfa9658215ab84af6f45569
|
|
| BLAKE2b-256 |
7ef9f3734f2cf26edf4b06c395a9abbccf38932a079daa8f111c390d3cc9e673
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
django_celery_outbox-0.2.0-py3-none-any.whl -
Subject digest:
13fbf47af0a4a8be49c0088fc072f73c8b674c3290a8e0adb47e46d20ad019c1 - Sigstore transparency entry: 1281990113
- Sigstore integration time:
-
Permalink:
Barsoomx/django-celery-outbox@200081bf8d7e8b78606fbfc501014ad24f94bd4e -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/Barsoomx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@200081bf8d7e8b78606fbfc501014ad24f94bd4e -
Trigger Event:
push
-
Statement type: