Provides an AMQP implementation for RabbitMQ of the ChannelInput/OutputPort in pypz.
Project description
Description
This package contains the RabbitMQ implementation of the Input-/OutputPortPlugin interface of pypz. It enables the operators to send and receive data records through queues allowing load sharing.
Check the documentation for more details.
Install
The python artifact is hosted on https://pypi.org/, so you can install it via pip:
pip install pypz-rmq-io
If you want to work on it locally, then you should install in editable mode:
pip install -e ./plugins/rmq_io
Test
You can run tests against an existing RabbitMQ cluster, however, it is more convenient and safe to use a local test cluster.
- Run the official image to start a local cluster
docker run -d --rm --name rabbitmq --hostname test -p 15672:15672 -p 5672:5672 rabbitmq:3-management
- Install the subproject in editable more.
pip install -e ./plugins/rmq_io
- To run the tests locally, you need to execute the following command:
python -m unittest discover .\plugins\rmq_io\test\ -p "*.py"
- Delete cluster
docker stop rabbitmq
Build
Before you build, you will need to install the "build" package:
pip install build
Then from the subproject's root, you will need to execute the following command:
python -m build
It will create the source distribution and the wheel file in the "dist" folder.
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
Built Distribution
File details
Details for the file pypz_rmq_io-0.9.3.tar.gz
.
File metadata
- Download URL: pypz_rmq_io-0.9.3.tar.gz
- Upload date:
- Size: 12.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 99ca707854c858b06f84a69d37c13c4854f34205d3081ef04ef51fe6caacb60a |
|
MD5 | 257352627c8a56986b2d57b22ea35775 |
|
BLAKE2b-256 | f5ff4f6cf5d5296ad8fb69891a90983dc1a457de2ec6aca9d5214e2117a09861 |
Provenance
File details
Details for the file pypz_rmq_io-0.9.3-py3-none-any.whl
.
File metadata
- Download URL: pypz_rmq_io-0.9.3-py3-none-any.whl
- Upload date:
- Size: 13.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cba993d89c468cbf0313d5164b0be529d8eb36d415dd749e60516bbfa48f1ede |
|
MD5 | e1ca89d1fa47cd3fbaddcf612cac8f06 |
|
BLAKE2b-256 | 0a9b10e0fbbee86769e0cf3a6480b0855482dc314856bb97c1720978aa7b9492 |