RabbitMQ integration
Project description
Klein Queue
Module to abstract queues. Currently implements RabbitMQ.
Documentation
API docs can be found at https://informatics.pages.mdcatapult.io/klein/py-queue/src.
Generate API docs for a particular version with pdoc
:
pip install pdoc3
pdoc --http :8080 src
Environment Variables
Env Variable | Description |
---|---|
RABBITMQ_USERNAME | |
RABBITMQ_PASSWORD | |
RABBITMQ_HOST | |
RABBITMQ_PORT | |
RABBITMQ_VHOST | Use a VHOST instead of default of / |
RABBITMQ_SOCKET_TIMEOUT | |
RABBITMQ_HEARTBEAT | |
RABBITMQ_BLOCKED_CONNECTION_TIMEOUT | |
RABBITMQ_RETRY_DELAY | |
RABBITMQ_PUBLISHER | |
RABBITMQ_CONSUMER | |
RABBITMQ_ERROR | |
RABBITMQ_CREATE_QUEUE_ON_CONNECT | Config to determine whether to create queue at connection |
Python
Utilises python 3.7
Ubuntu
sudo apt install python3.7
Virtualenv
virtualenv -p python3.7 venv
source venv/bin/activate
pip install -r requirements.txt
Testing
docker-compose up
python -m pytest
License
This project is licensed under the terms of the Apache 2 license, which can be found in the repository as LICENSE.txt
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
klein_queue-2.4.3.tar.gz
(14.9 kB
view details)
Built Distribution
File details
Details for the file klein_queue-2.4.3.tar.gz
.
File metadata
- Download URL: klein_queue-2.4.3.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec41c22a008cb1c81f08900d462f4c8762e21581eea11b8dfd10d1eddaeca851 |
|
MD5 | 668a4d53a489a6a71455ce0a85375297 |
|
BLAKE2b-256 | 2a344be976124c2b4da7b4380a543f21d885311dbdd82d506e57135b6c06e631 |
File details
Details for the file klein_queue-2.4.3-py3-none-any.whl
.
File metadata
- Download URL: klein_queue-2.4.3-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.7.11
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d9437b029eb18d3a9345026efc6add48f730582b7151b31633ed6b37737d12da |
|
MD5 | 537f9160095eba09bec980d04e20a5df |
|
BLAKE2b-256 | ab61fe9a6a2573e3309fb9d9d2acc46e75307e8537be5c081ef2ca63c966fc0a |