New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

queue-helpers

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

queue-helpers

A helper to manage Rabbit queues.

  • 0.1.4
  • PyPI
  • Socket score

Maintainers
1

queue_helpers

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

Installing

.. code-block:: bash

pip install queue_helpers

Usage

.. code-block:: bash

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

Keywords

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc