New Python library - AMQP-Storm

187 views
Skip to first unread message

Erik Olof Gunnar Andersson

unread,
Sep 10, 2014, 5:33:20 PM9/10/14
to rabbitm...@googlegroups.com
Hey,

I have been working on a new AMQP library based on pamq (the library that rabbitpy is based on) from gmr, and pretty recently I decided to share it on ghosthub. I designed the library to be simple, easy to use, and thread-safe, and since I always liked pika, I wanted the interface to be similar to the one found in the pika blocking adapter. I decided to name it amqp-storm, not to be confused with stormed-amqp (which I didn't know about until recently).

It also uses a separate thread to handle incoming requests, to make sure that it is always notified when an important request comes in (e.g. heartbeat, block and unblock).

Quick example:
from amqpstorm import Connection
connection
= Connection('localhost', 'guest', 'guest')
channel
= connection.channel()
channel
.queue.declare('simple_queue')
channel
.queue.purge('simple_queue')
channel
.basic.publish('my message', 'simple_queue')

Anyway, anyone that is interested can take a look at the library here:
https://github.com/eandersson/amqp-storm
https://github.com/eandersson/amqp-storm/tree/master/examples

btw huge thanks to gmr for creating pamq, pika and rabbitpy!

Best Regards, Erik

Erik Olof Gunnar Andersson

unread,
Oct 23, 2014, 10:45:28 AM10/23/14
to rabbitm...@googlegroups.com
The project is also available for installation using PIP
Reply all
Reply to author
Forward
0 new messages