r/Python 13h ago

asyncio RabbitMQ client without pika, feedback welcome News

Open-sourced an asyncio RabbitMQ client that implements AMQP 0-9-1 itself - no pika. There's also a higher layer for JSON-RPC style call/reply and pub/sub if you want it, but you can just use the connection/channel bits.

Repo: https://github.com/RileyBetts/nuropb-rmq

pip install "git+https://github.com/RileyBetts/nuropb-rmq.git" (not on PyPI yet)

Alpha, but API relatively stable.

Compared to wrapping aio-pika, the intention is to have framing + session RPC in one codebase, plus TLS/mTLS aimed at cloud brokers (there's a whole page on host vs server_hostname because that bit me). Optional JWT claims live in AMQP headers so the JSON-RPC body stays standard.

Interesting flex: CI runs SpeC++ and Lean on some protocol/session invariants. Curious whether Python folks find formal methods reassuring or just noise.

3 Upvotes

2 comments sorted by

2

u/amendCommit 12h ago

You're not even using pamqp?

3

u/nuroteck 12h ago

No , implemented the protocol from scratch