Metadata-Version: 2.0
Name: asgi-amqp
Version: 0.3.2
Summary: AMQP-backed ASGI channel layer implementation
Home-page: http://github.com/wwitzel3/asgi_amqp/
Author: Wayne Witzel III
Author-email: wayne@riotousliving.com
License: BSD
Platform: UNKNOWN
Requires-Dist: six
Requires-Dist: kombu (>=3.0.35)
Requires-Dist: msgpack-python (>=0.4.7)
Requires-Dist: asgiref (>=0.14.0)
Requires-Dist: jsonpickle (>=0.9.3)

asgi_amqp
==========

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.

*IMPORTANT*
-----------

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 `settings.py` file.


Example Model::

    from django.db import models

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


Usage
-----

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

Example::

    channel_layer = AMQPChannelLayer(
        url="amqp://guest:guest@localhost:5672//",
        }
    )

host
~~~~

The server to connect to as a URL.


