Skip to main content

queue_helpers

This package is a helper that is used to manage queues in RabbitMQ.

Installing

pip install queue_helpers

Usage

>>> from queue_helpers import RpcClient
>>> def send_rpc_message(queue_name, request, rabbit_username, rabbit_password, rabbitserver, vhost):
...     client = RpcClient(rabbit_server_host=rabbitserver,
...                        virtual_host=vhost,
...                        server_queue_name=queue_name,
...                        username=rabbit_username,
...                        password=rabbit_password)
...     resp = client.call(json.dumps(request))
...     response = json.loads(resp.decode("utf-8"))
...     return response

Metadata

Release files for queue-helpers 0.1.4

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

Source distribution (sdist)

Source distribution for queue-helpers 0.1.4
File Size Uploaded
queue_helpers-0.1.4.tar.gz 3.5 kB Details

Release files / queue_helpers-0.1.4.tar.gz

Download URL queue_helpers-0.1.4.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
50b0480b080877abe81db59fd426eeb89eb26bb2d3fe0e5738bbe2d48f9cc071
BLAKE2b-256 checksum
How to use checksums
92992531c1a5929df7d5785674a166e8f2c61a0b99af4b245a3b5e694f9b7660
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.8.10

Release history Release notifications | RSS feed

This release

0.1.4 This release

1 release file

0.1.3

1 release file

0.1.2

1 release file

0.1.1

1 release file

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