Skip to main content
What is this
============

Adds a custom command which opens a blocking connection with an AMQP server and passes messages to a callback fuction

Settings
--------

This settings are requiered for the command run

``COM_BROKER``

AMQP server ip

``COM_VHOST``

AMQP server Virtual Host

``COM_USERNAME``

AMQP server User name for the virtual host


``COM_PASSWORD``

Username's password

``COM_QUEUE``

Which queue listen to

``CONSUMER_CALLBACK``

Path to the callback func. ex.: djamqpconsumer.printconsumer.printdata

Install
-------

Use pip to install from PyPI::

pip install djamqpconsumer


Usage
-----

Add ``djamqpconsumer`` to your settings.py file::

INSTALLED_APPS = (
...
'djamqpconsumer',
...
)

Use with manage.py::

manage.py consumer [debug]

0.6 (2014-03-27)
================
- Parse results to send nack/requeue commands
callback command must return a dict with
{'result': 0/1
'msg': String,
'retry': Bool}

- Use logging instead of printing

0.5 (2014-02-21)
================
- Add pika dependency

Metadata

Release files for djamqpconsumer 0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for djamqpconsumer 0.7
File Size Uploaded Provenance
djamqpconsumer-0.7.zip 7.0 kB Without provenance Details

Release files / djamqpconsumer-0.7.zip

Download URL djamqpconsumer-0.7.zip
Size 7.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d8843db31f88b9c1cf22b7880712c1ee185328e6a93040f9b6982661fb5fdd59
BLAKE2b-256 checksum
How to use checksums
a4457411ecffb7e21062d2255afe397bce9c6d106da61c12b43bd9ec13bc9592
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for djamqpconsumer 0.7

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.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page