Skip to main content

AMQP-backed ASGI channel layer implementation

Project description

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

Installation

Group support requires the rabbitmq_lvc plugin is enabled on your RabbitMQ server. More information about enabling this plugin can be found on the (RabbitMQ Plugin)[https://www.rabbitmq.com/community-plugins.html] site.

$ rabbitmq-plugins enable rabbitmq_lvc $ pip install asgi_amqp

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.

Project details


Download files

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

Source Distribution

asgi_amqp-0.2.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

asgi_amqp-0.2-py2.py3-none-any.whl (5.2 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page