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.

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

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

declare-amqp-0.0.4.tar.gz (2.7 kB view details)

Uploaded Source

File details

Details for the file declare-amqp-0.0.4.tar.gz.

File metadata

File hashes

Hashes for declare-amqp-0.0.4.tar.gz
Algorithm Hash digest
SHA256 b152a1e9b9eb2eef4ef2221692551aa2b6ad672672c8cb04af3f3e871326cfbe
MD5 e8a0f6d64ef261029dd09039fe596522
BLAKE2b-256 82d8b02736a99eabfa2e114d9f3d019af33eaf30081c5871f9ba1a5a01673f6d

See more details on using hashes here.

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