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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for pypz_rmq_io-0.9.3.tar.gz
Algorithm Hash digest
SHA256 99ca707854c858b06f84a69d37c13c4854f34205d3081ef04ef51fe6caacb60a
MD5 257352627c8a56986b2d57b22ea35775
BLAKE2b-256 f5ff4f6cf5d5296ad8fb69891a90983dc1a457de2ec6aca9d5214e2117a09861

See more details on using hashes here.

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

Hashes for pypz_rmq_io-0.9.3-py3-none-any.whl
Algorithm Hash digest
SHA256 cba993d89c468cbf0313d5164b0be529d8eb36d415dd749e60516bbfa48f1ede
MD5 e1ca89d1fa47cd3fbaddcf612cac8f06
BLAKE2b-256 0a9b10e0fbbee86769e0cf3a6480b0855482dc314856bb97c1720978aa7b9492

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