celery-amqp-backend
celery-amqp-backend is a rewrite of the Celery's original amqp:// result backend, which was removed from Celery
with version 5.0. Celery encourages you to use the newer rpc:// result backend, as it does not create a new
result queue for each task and thus is faster in many circumstances. However, it's not always possible to switch
to the new rpc:// result backend, as it does have restrictions as follows:
rpc://does not support chords.rpc://results may hold a wrong state.rpc://may lose results when usinggeventorgreenlet.
The result backend celery_amqp_backend.AMQPBackend:// does not suffer from the same issues.
Installation
With a correctly configured pipenv toolchain:
pipenv install celery-amqp-backend
You may also use classic pip to install the package:
pip install celery-amqp-backend
Getting started
Configuration options
result_backend: str
Set to 'celery_amqp_backend.AMQPBackend://' to use this result backend.
result_persistent: bool
Default: False
If set to True, result queues will be persistent queues. This means that messages will not be lost after a
message broker restart.
result_exchange: str
Default: 'celery_result'
The prefix for result queues created by the backend (e.g. if result_exchange is set to 'example', a result
queue may be named 'example.36723ac0-aacf-4668-8927-08794d0b082e').
result_exchange_type: str
Default: 'direct'
The type of the exchange created by the backend (e.g. 'direct', 'topic' etc.).
Example configuration
result_backend = 'celery_amqp_backend.AMQPBackend://'
result_persistent = False
result_exchange = 'celery_result'
result_exchange_type = 'direct'
Supported versions
| Celery 5.2 | Celery 5.3 | Celery 5.4 | |
|---|---|---|---|
| Python 3.9 | ✓ | ✓ | ✓ |
| Python 3.10 | ✓ | ✓ | ✓ |
| Python 3.11 | ✓ | ✓ | ✓ |
| Python 3.12 | ✗ | ✓ | ✓ |
| Python 3.13 | ✗ | ✗ | ✗ |
List of developers
- Andreas Stocker AStocker@anexia-it.com, Lead Developer
Metadata
Release files for celery-amqp-backend 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| celery_amqp_backend-1.2.0.tar.gz | 8.3 kB | Without provenance | Details for celery_amqp_backend-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| celery_amqp_backend-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for celery_amqp_backend-1.2.0-py3-none-any.whl |
Total release size: 16.6 kB
Release files / celery_amqp_backend-1.2.0.tar.gz
| Download URL | celery_amqp_backend-1.2.0.tar.gz |
|---|---|
| Size | 8.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b4a4788d52ee710d02498fad1283a03dcd64fcd1966daa28c14b76ecb71d478d
|
|
BLAKE2b-256 checksum How to use checksums |
7fc1beea9e0ec810803939d0e52e817e7acd836d62084b210aca5487b6848d66
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|
Release files / celery_amqp_backend-1.2.0-py3-none-any.whl
| Download URL | celery_amqp_backend-1.2.0-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4b106251dfbd9060739ba22dd5caefe7fd0cc72bd06956056d850e2bb77374fc
|
|
BLAKE2b-256 checksum How to use checksums |
3f3ac4b749dcaa5065a72704e63122345bb0e02722f2d5ab1dc411fa3b6db87f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.0.1 CPython/3.10.15
|
Security for celery-amqp-backend 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.