Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

swarmauri_publisher_rabbitmq-0.3.0.dev4.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file swarmauri_publisher_rabbitmq-0.3.0.dev4.tar.gz.

File metadata

File hashes

Hashes for swarmauri_publisher_rabbitmq-0.3.0.dev4.tar.gz
Algorithm Hash digest
SHA256 e83980da90489e120caa001173058e4c1db60616f5d13bfba649e022246a5cec
MD5 5fd7ba825137e0a0bd559bf8dee4eb31
BLAKE2b-256 fd14c9a55a7bdb69672b0b53ba8befff0365423b10545215b9d6ad5564a2e599

See more details on using hashes here.

File details

Details for the file swarmauri_publisher_rabbitmq-0.3.0.dev4-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_publisher_rabbitmq-0.3.0.dev4-py3-none-any.whl
Algorithm Hash digest
SHA256 beb6c76b421fb10f5e7a267820c18aba52b1be7302326dbc2e056d9ac5a9dfb0
MD5 1edd275cecc851d0b127dfc03f86296f
BLAKE2b-256 1b9b3df2e53386ece4e1dbb7c7453de598ad46ba2e1b8ceff6f6d48f0c022cf1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page