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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pypz_rmq_io-0.9.3b3.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

Hashes for pypz_rmq_io-0.9.3b3.tar.gz
Algorithm Hash digest
SHA256 dfb7a4be67338ba963d24e8882794be455d3079eb4c622b3d2b4ce7943efa19a
MD5 e2cd4c679beb0fe1edb236a943278f64
BLAKE2b-256 55ac48de85918148a9a0b0462d9674d8f46308e32ddb8b01744c5d656000ac90

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pypz_rmq_io-0.9.3b3-py3-none-any.whl
Algorithm Hash digest
SHA256 eee031a44be58d810c3381f740b9a8e9531396b3d88cd81c358efda168abdbd2
MD5 ece5ee957df437f43b1032d5a16195e8
BLAKE2b-256 d6b5dbb44021bd04e63244deb1f3b3897a6ac9d118ae7481cd5faed5da728b43

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