Async RabbitMQ library with spec-based API, topology restore, and automatic reconnection
Project description
RMQaio
Async RabbitMQ library with spec-based API, topology restore, and automatic reconnection.
Installation
pip install rmqaio
Quick Start
import asyncio
from rmqaio import Connection, Exchange, ExchangeSpec, Ops, Queue, QueueSpec
async def main():
conn = Connection("amqp://localhost")
await conn.open()
ops = Ops(conn)
exchange = Exchange(ExchangeSpec(name="events", type="topic", durable=True), ops)
await exchange.declare(restore=True)
queue = Queue(QueueSpec(name="my-queue", durable=True), ops)
await queue.declare(restore=True)
await queue.bind("events", routing_key="#", restore=True)
await conn.close()
asyncio.run(main())
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
rmqaio-0.18.0.tar.gz
(17.3 kB
view details)
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
rmqaio-0.18.0-py3-none-any.whl
(19.4 kB
view details)
File details
Details for the file rmqaio-0.18.0.tar.gz.
File metadata
- Download URL: rmqaio-0.18.0.tar.gz
- Upload date:
- Size: 17.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.11.9 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f1cefbbdd204b45bfd25aa9419029f03141742313f1f3e0308f266a3d775c160
|
|
| MD5 |
ad530ad0939d5d64820453ac0d8e12ab
|
|
| BLAKE2b-256 |
698d68b9ce42681adf8186d2fa8719b56e635a339cd28f3fdc634edd80046283
|
File details
Details for the file rmqaio-0.18.0-py3-none-any.whl.
File metadata
- Download URL: rmqaio-0.18.0-py3-none-any.whl
- Upload date:
- Size: 19.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.3.2 CPython/3.11.9 Darwin/25.2.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45464a4d9f42467c24b24aba256fca1e22038a7070bd091a5f0f2a09ba65575d
|
|
| MD5 |
48a339e911d1bd640d8f77fc2b762b5e
|
|
| BLAKE2b-256 |
c482aba214c105ecba2cd8b3c496e8dae68fb44855798e6f7e70a0307bc7f80c
|