Metadata-Version: 2.3
Name: swarmauri_publisher_rabbitmq
Version: 0.3.0.dev4
Summary: A RabbitMQ publisher implementation for Swarmauri.
License: Apache-2.0
Author: Jacob Stewart
Author-email: jacob@swarmauri.com
Requires-Python: >=3.10,<3.13
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Operating System :: OS Independent
Requires-Dist: pika (>=1.3.1)
Requires-Dist: swarmauri_base
Requires-Dist: swarmauri_core
Requires-Dist: swarmauri_standard
Description-Content-Type: text/markdown

# 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

```python
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!"})
```
