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

Optionally, you might want to set a version for local testing. Using setuptools-scm, you can pretend a version via setting the following environment variable:

# Powershell
$env:SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYPZ_RMQ_IO="v1.2.3"

# Linux
export SETUPTOOLS_SCM_PRETEND_VERSION_FOR_PYPZ_RMQ_IO="v1.2.3"

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

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pypz_rmq_io-0.10.0-py3-none-any.whl (14.3 kB view details)

Uploaded Python 3

File details

Details for the file pypz_rmq_io-0.10.0.tar.gz.

File metadata

  • Download URL: pypz_rmq_io-0.10.0.tar.gz
  • Upload date:
  • Size: 16.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pypz_rmq_io-0.10.0.tar.gz
Algorithm Hash digest
SHA256 97525e83be55f19b96831a60ee8b8aa046b4686b424c5f2f63cfddf1f238754b
MD5 7d5b50b6fb66b9b90c0d51ba9970d6cb
BLAKE2b-256 38272946d21497fa81d2e28adb4ae9005c820423c7bf4d272cc6319197a1b160

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypz_rmq_io-0.10.0.tar.gz:

Publisher: publish.yml on lazlowa/pypz-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pypz_rmq_io-0.10.0-py3-none-any.whl.

File metadata

  • Download URL: pypz_rmq_io-0.10.0-py3-none-any.whl
  • Upload date:
  • Size: 14.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for pypz_rmq_io-0.10.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7a349295058a0a58ca6c9cbb9d5665dec4be60cdf243f49e39bb742ee1bdaa1f
MD5 cda40856db665c8b90d31ffeedfdfd3b
BLAKE2b-256 28e6cc69d16f05eb5cc9992d09d06d34e73208075bb4f84f62136abf6b9b2ec5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pypz_rmq_io-0.10.0-py3-none-any.whl:

Publisher: publish.yml on lazlowa/pypz-python

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page