AMQPStorm Documentation

Thread-safe Python3 RabbitMQ Client & Management library.

Installation

The latest version can be installed using pip and is available on PyPI.

pip install amqpstorm

You can also install AMQPStorm with the management dependencies:

pip install amqpstorm[management]

Basic Example

with amqpstorm.Connection('rmq.eandersson.net', 'guest', 'guest') as connection:
    with connection.channel() as channel:
        channel.queue.declare('fruits')
        message = amqpstorm.Message.create(
            channel, body='Hello RabbitMQ!', properties={
                'content_type': 'text/plain'
            })
        message.publish('fruits')

Additional Examples

A wide variety of examples are available on GitHub.

Usage

Issues

Please report any issues on GitHub.

Source

AMQPStorm source code is available on GitHub.

Indices and tables