py-amqplib



Python client for the Advanced Message Queuing Procotol (AMQP)

Now on Google Code

Implements a simple non-threaded client library for AMQP 0-8, tested with RabbitMQ.

I was looking for something that could be used in an embedded Python environment (py-exim-localscan), in which case reliance on threading would probably cause trouble.

A quick connection time was desirable too. QPID takes a while to parse the AMQP spec file. For this module, I generated a skeleton statically from the 0-8 spec file, and fleshed it out by hand.

Also features SSL support (tested against RabbitMQ behind a Stunnel)


See also: py-amqplib on the Cheeseshop, Apache QPID, txAMQP for Twisted Python.

Check out a very nice writeup on AMQP and RabbitMQ with examples using py-amqplib

There is also a php-amqplib available that's a very similar port of this code to PHP.

Repositories



A Django site.

Valid XHTML 1.0 Transitional