New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

python-queue-reader

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

python-queue-reader - pypi Package Compare versions

Comparing version
1.1
to
1.2
+7
-4
PKG-INFO
Metadata-Version: 2.1
Name: python_queue_reader
Version: 1.1
Version: 1.2
Summary: Queue reader for python abstracting message brokers such as RabbitMQ

@@ -18,4 +18,7 @@ Home-page: UNKNOWN

To install MessageBrokers, you can use pip:
...
`pip install python_queue_reader`
importing in python via:
`from python_queue_reader import MessageBrokers`
## Example usage

@@ -25,6 +28,6 @@ The code snippet provided demonstrates the usage of the MessageBrokers library in Python. It showcases how to initialize a connection to a message broker system, receive messages from a queue, send a message to the queue, and close the connection. The library abstracts away the complexities of interacting with different message broker systems, allowing developers to focus on writing their application logic. Let's dive into the details of each feature and method.

```
from MessageBrokers import RabbitMQ
from python_queue_reader import MessageBrokers
# Initialize a connection to RabbitMQ message broker
rabbitmq = RabbitMQ(queue_name='my_queue', target_queue_name = 'my_target_queue', exchange='my_exchange', host='host', username='guest', password='guest')
rabbitmq = MessageBrokers.RabbitMQ(queue_name='my_queue', target_queue_name = 'my_target_queue', exchange='my_exchange', host='host', username='guest', password='guest')

@@ -31,0 +34,0 @@ # Receive messages from the queue

Metadata-Version: 2.1
Name: python-queue-reader
Version: 1.1
Version: 1.2
Summary: Queue reader for python abstracting message brokers such as RabbitMQ

@@ -18,4 +18,7 @@ Home-page: UNKNOWN

To install MessageBrokers, you can use pip:
...
`pip install python_queue_reader`
importing in python via:
`from python_queue_reader import MessageBrokers`
## Example usage

@@ -25,6 +28,6 @@ The code snippet provided demonstrates the usage of the MessageBrokers library in Python. It showcases how to initialize a connection to a message broker system, receive messages from a queue, send a message to the queue, and close the connection. The library abstracts away the complexities of interacting with different message broker systems, allowing developers to focus on writing their application logic. Let's dive into the details of each feature and method.

```
from MessageBrokers import RabbitMQ
from python_queue_reader import MessageBrokers
# Initialize a connection to RabbitMQ message broker
rabbitmq = RabbitMQ(queue_name='my_queue', target_queue_name = 'my_target_queue', exchange='my_exchange', host='host', username='guest', password='guest')
rabbitmq = MessageBrokers.RabbitMQ(queue_name='my_queue', target_queue_name = 'my_target_queue', exchange='my_exchange', host='host', username='guest', password='guest')

@@ -31,0 +34,0 @@ # Receive messages from the queue

@@ -7,4 +7,7 @@ # MessageBrokers

To install MessageBrokers, you can use pip:
...
`pip install python_queue_reader`
importing in python via:
`from python_queue_reader import MessageBrokers`
## Example usage

@@ -14,6 +17,6 @@ The code snippet provided demonstrates the usage of the MessageBrokers library in Python. It showcases how to initialize a connection to a message broker system, receive messages from a queue, send a message to the queue, and close the connection. The library abstracts away the complexities of interacting with different message broker systems, allowing developers to focus on writing their application logic. Let's dive into the details of each feature and method.

```
from MessageBrokers import RabbitMQ
from python_queue_reader import MessageBrokers
# Initialize a connection to RabbitMQ message broker
rabbitmq = RabbitMQ(queue_name='my_queue', target_queue_name = 'my_target_queue', exchange='my_exchange', host='host', username='guest', password='guest')
rabbitmq = MessageBrokers.RabbitMQ(queue_name='my_queue', target_queue_name = 'my_target_queue', exchange='my_exchange', host='host', username='guest', password='guest')

@@ -20,0 +23,0 @@ # Receive messages from the queue

@@ -8,3 +8,3 @@ from setuptools import setup, find_packages

name='python_queue_reader',
version='1.1',
version='1.2',
description='Queue reader for python abstracting message brokers such as RabbitMQ',

@@ -11,0 +11,0 @@ author='uug.ai',