Skip to main content

rabbitmq_consume project

The rabbitmq_consume project contains both the rabbitmq_consume package that provides a simple Consumer class for processing messages from a RabbitMQ queue, rmq-consume that is an executable that can be used to run that class and rmq-inject that cna be used to inject messages into the originating RabbitMQ queue.

rmq-consume executable

More details about the rmq-consume executable can be found using its help option

rmq-consume -h

The typical usage is the following:

rmq-consume <queue> <module>[.<class>]

where <queue> is that name of the RabbitMQ queue from which the XML messages should be consumed and <class> is a python class in the <module> python module that will actually process the messages. If the `. is omitted from the comand line, the class whose name matches the module name will be used.

The "consumption" class need to derived from the Consumption.Consumption as shown in the following trivial example.

from Consumption import Consumption

class TrivialConsumption(Consumption):

    def __init__(self,
                 properties,
                 body,
                 redelivered):

    def consume(self):
        pass

Most real implementations will save the properties, body and redelivered arguments for use in the consume method.

rmq-inject executable

More details about the rmq-inject executable can be found using its help option

rmq-inject -h

The typical usage is the following:

rmq-inject -l <queue>

This injects a "stop listening message" into the queue and when the consumer encounters this it will stop listening for an more messages and shut down.

Metadata

Release files for rabbitmq-consume 0.7.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rabbitmq-consume 0.7.3
File Size Uploaded Provenance Actions
rabbitmq_consume-0.7.3.tar.gz 12.5 kB Without provenance Details for rabbitmq_consume-0.7.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for rabbitmq-consume 0.7.3
File Interpreter ABI Platform Actions
rabbitmq_consume-0.7.3-py2.py3-none-any.whl Python 2, Python 3 none any Details for rabbitmq_consume-0.7.3-py2.py3-none-any.whl

Total release size: 26.3 kB

Release files / rabbitmq_consume-0.7.3.tar.gz

Download URL rabbitmq_consume-0.7.3.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
944a43ff7a16c52cde90e7951206fff5d0d1e22e005e5862881a0390d2b7322d
BLAKE2b-256 checksum
How to use checksums
43746147f86ff323b0b23cf48e507ea51d28489753e628a830a7cd18884c89a1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

Release files / rabbitmq_consume-0.7.3-py2.py3-none-any.whl

Download URL rabbitmq_consume-0.7.3-py2.py3-none-any.whl
Size 13.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
f93d51c32459a5ceb8509faea7b32b6b59fd4a72f31bdd6cdf3bb28df823ac95
BLAKE2b-256 checksum
How to use checksums
7b1e2782766b94c57d38e51abf70fe0e1e92cd02ae74380c7446892f59ccbc1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.4

Security for rabbitmq-consume 0.7.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page