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.2

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.2
File Size Uploaded Provenance Actions
rabbitmq_consume-0.7.2.tar.gz 12.4 kB Without provenance Details for rabbitmq_consume-0.7.2.tar.gz

Built distribution (wheel)

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

Total release size: 26.3 kB

Release files / rabbitmq_consume-0.7.2.tar.gz

Download URL rabbitmq_consume-0.7.2.tar.gz
Size 12.4 kB
Tags Source
SHA-256 checksum
How to use checksums
37962a5d3951e03e0b3f5df2af39bf21963ac59bf8f06e4be7c5cf7d0b2e6307
BLAKE2b-256 checksum
How to use checksums
a9913f91cf8d99e167200a1ad146cc56792e534482705b6855d7329437fc0296
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.2-py2.py3-none-any.whl

Download URL rabbitmq_consume-0.7.2-py2.py3-none-any.whl
Size 13.9 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
958f5ebecd624ec1138adf9f7f1107713059f6b690113bb34475202ec31c1703
BLAKE2b-256 checksum
How to use checksums
06164ab22cf52f10334774326baedcaca71fe558dd66d17dd12f8640180d663d
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.2

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