Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Blocking custom django command to consume a AMQP queue

Project Description
What is this

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


This settings are requiered for the command run


AMQP server ip


AMQP server Virtual Host


AMQP server User name for the virtual host


Username's password


Which queue listen to


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


Use pip to install from PyPI::

pip install djamqpconsumer


Add ``djamqpconsumer`` to your file::


Use with 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
Release History

Release History

This version
History Node


History Node


History Node


History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date (7.0 kB) Copy SHA256 Checksum SHA256 Source Mar 27, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting