A RabbitMQ publisher implementation for Swarmauri.
Project description
Swarmauri RabbitMQ Publisher
This package provides a RabbitMQ publisher implementation conforming to the Swarmauri PublishBase interface.
Installation
This package is part of the Swarmauri SDK monorepo.
Usage
from swarmauri_publisher_rabbitmq import RabbitMQPublisher
# Example usage with host/port
publisher = RabbitMQPublisher(
host="localhost",
port=5672,
username="guest",
password="guest",
exchange="my_exchange"
)
publisher.publish(channel="my_routing_key", payload={"message": "Hello RabbitMQ!"})
# Example usage with URI
# publisher_uri = RabbitMQPublisher(
# uri="amqp://guest:guest@localhost:5672/",
# exchange="my_exchange"
# )
# publisher_uri.publish(channel="my_routing_key", payload={"message": "Hello via URI!"})
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file swarmauri_publisher_rabbitmq-0.3.0.dev3.tar.gz.
File metadata
- Download URL: swarmauri_publisher_rabbitmq-0.3.0.dev3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d84ffad7c64477c5171fb74c288f29854d615d3b2eddfad518f2452bd05cb782
|
|
| MD5 |
bed7b8ad5d94f892948c80008722e2ae
|
|
| BLAKE2b-256 |
7368e3fe80a88ec363ff5bf5712d72bfe8c353bff3be7d60709542cb38cf66ee
|
File details
Details for the file swarmauri_publisher_rabbitmq-0.3.0.dev3-py3-none-any.whl.
File metadata
- Download URL: swarmauri_publisher_rabbitmq-0.3.0.dev3-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8b89285c4b42b614ec32387a12e532606bdba52aa0457a4d5e3fe55c6a61e6be
|
|
| MD5 |
70b40d714a930b38ceffd40ac58e2b86
|
|
| BLAKE2b-256 |
f54e46b7d542abc97c649bd32daf2d57e1b828c59bb5e296c76f423254e7fa3c
|