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.3b2.tar.gz (12.2 kB view details)

Uploaded Source

Built Distribution

pypz_rmq_io-0.9.3b2-py3-none-any.whl (13.3 kB view details)

Uploaded Python 3

File details

Details for the file pypz_rmq_io-0.9.3b2.tar.gz.

File metadata

  • Download URL: pypz_rmq_io-0.9.3b2.tar.gz
  • Upload date:
  • Size: 12.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.0 CPython/3.12.4

File hashes

Hashes for pypz_rmq_io-0.9.3b2.tar.gz
Algorithm Hash digest
SHA256 ce4451bf3bdd778e5075c6ddf6ae8197ba16b7d295d56f4d8d287b99e4420755
MD5 81e1b301a1bee3a936ae2b2228c0a1f7
BLAKE2b-256 d11ed208ddb5f08c7910265ed9600aecc909c36822cb01e1ddedef106da7d2a1

See more details on using hashes here.

Provenance

File details

Details for the file pypz_rmq_io-0.9.3b2-py3-none-any.whl.

File metadata

File hashes

Hashes for pypz_rmq_io-0.9.3b2-py3-none-any.whl
Algorithm Hash digest
SHA256 b29df73049f0f32d0f831f3dfe9b9355675b636a68f856039ce682b195ad4fa8
MD5 6fe30d09350f26ee1f46b90b577438b1
BLAKE2b-256 4f25fe8a77a2a48b7c10131b2a54e23e7b35aefcae1c9b6c86c10dc720dff1ec

See more details on using hashes here.

Provenance

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