Skip to main content

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.

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

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

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

## Running


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

Project details

Download files

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

Files for declare-amqp, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size declare-amqp-0.0.4.tar.gz (2.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page