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
Metadata
Release files for declare-amqp 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| declare-amqp-0.0.4.tar.gz | 2.7 kB | Without provenance | Details for declare-amqp-0.0.4.tar.gz |
Release files / declare-amqp-0.0.4.tar.gz
| Download URL | declare-amqp-0.0.4.tar.gz |
|---|---|
| Size | 2.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b152a1e9b9eb2eef4ef2221692551aa2b6ad672672c8cb04af3f3e871326cfbe
|
|
BLAKE2b-256 checksum How to use checksums |
82d8b02736a99eabfa2e114d9f3d019af33eaf30081c5871f9ba1a5a01673f6d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for declare-amqp 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.