Skip to main content

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.

  1. 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
  1. Install the subproject in editable more.
pip install -e ./plugins/rmq_io
  1. To run the tests locally, you need to execute the following command:
python -m unittest discover .\plugins\rmq_io\test\ -p "*.py"
  1. 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


Download files

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

Source Distribution

pypz_rmq_io-0.9.3b3.tar.gz (12.9 kB view hashes)

Uploaded Source

Built Distribution

pypz_rmq_io-0.9.3b3-py3-none-any.whl (13.9 kB view hashes)

Uploaded Python 3

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