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!

AMQP-backed ASGI channel layer implementation

Project Description

Not intended for public consumption. Currently depends on closed source libraries.

An ASGI channel layer that uses AMQP as its backing store with group support.


This library expects your Django project to have a model called ChannelGroup. You will need to fix the import of ChannelGroup in the code to make it work with your django project.

Eventually I make this part of the configuration options so you can just pass in project.model.MyModel in your file.

Example Model:

from django.db import models

class ChannelGroup(models.Model):
    group = models.CharField(max_length=200, unique=True)
    channels = models.TextField()


You’ll need to instantiate the channel layer with at least url, and other options if you need them.


channel_layer = AMQPChannelLayer(


The server to connect to as a URL.

Release History

Release History

This version
History Node


History Node


History Node


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
asgi_amqp-0.4.2-py2.py3-none-any.whl (6.1 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 29, 2017
asgi_amqp-0.4.2.tar.gz (4.1 kB) Copy SHA256 Checksum SHA256 Source Mar 29, 2017

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