skip to navigation
skip to content

asgi_amqp 1.0.1

AMQP-backed ASGI channel layer implementation


You should probably use `asgi_rabbitmq <http:"" en="" latest="" index.html="">`_

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.
File Type Py Version Uploaded on Size
asgi_amqp-1.0.1-py2.py3-none-any.whl (md5) Python Wheel 2.7 2017-11-27 6KB
asgi_amqp-1.0.1.tar.gz (md5) Source 2017-11-27 5KB