Skip to main content
Help improve PyPI by participating in a 5-minute user interface survey!

A way to declare your AMQP exchanges, queues, and bindings outside of the application

Project Description

# Declare AMQP

A way to declare your exchanges, queues, and bindings outside of the application

## Installing

pip install declare-amqp

## Declaration

You can see the extend of configuration in the `example_config.yml` file. All
fields used are currently required except for the `arguments` on exchanges.

exchanges:
- name: example_exchange
type: direct
durable: True
auto_delete: False
arguments:
alternate-exchange: your_alternate_exchange

queues:
- name: test_queue
auto_delete: False
durable: True
bindings:
- exchange: example_exchange
binding_key: test_binding

When I have the need for them exchange-to-exchange bindings will be added.

## Running

### ENVVARS

AMQP_HOST (default: localhost)

AMQP_USER (default: guest)

AMQP_PASS (default: guest)

AMQP_VHOST(default: /)


### CLI

Once you have set the envvars you are set to run `declare-amqp`

declare-amqp --config your_config.yml

Release history Release notifications

This version
History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
declare-amqp-0.0.4.tar.gz (2.7 kB) Copy SHA256 hash SHA256 Source None Feb 8, 2013

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page