python-queue-reader
Advanced tools
+7
-4
| 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 |
+6
-3
@@ -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 |
+1
-1
@@ -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', |
Alert delta unavailable
Currently unable to show alert delta for PyPI packages.
28259
1.41%