Erlang/OTP Forums

Author Message

<  RabbitMQ mailing list  ~  Alternative Python AMQP client library

Guest
Posted: Mon Dec 03, 2007 9:51 pm Reply with quote
Guest
I've seen a few Python users on this list, so I thought I'd mention that
I've been working on a Python AMQP client library as an alternative to
Qpid, and have a Mercurial repository and initial tarball available at:

http://barryp.org/software/py-amqplib/

The library is a bit rough, but I've been using it with RabbitMQ for a
while now.

It differs from Qpid in that it doesn't require a spec file (although
one was used to generate the initial skeleton), and it doesn't rely on
threading (making it a bit easier to debug and use with a Python
interpreter embedded in another app).

Barry

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Tue Dec 04, 2007 6:30 pm Reply with quote
Guest
Hi Barry,

Barry Pederson wrote:
> I've seen a few Python users on this list, so I thought I'd mention that
> I've been working on a Python AMQP client library as an alternative to
> Qpid, and have a Mercurial repository and initial tarball available at:
>
> http://barryp.org/software/py-amqplib/
>
> The library is a bit rough, but I've been using it with RabbitMQ for a
> while now.

Great stuff, and thanks for releasing it under a public license!

Is there a way to get a non-blocking consumer event loop using your library?

Thanks,
Dmitriy

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Tue Dec 04, 2007 7:15 pm Reply with quote
Guest
>
> Barry Pederson wrote:
> > I've seen a few Python users on this list, so I thought I'd mention that
> > I've been working on a Python AMQP client library as an alternative to
> > Qpid, and have a Mercurial repository and initial tarball available at:
> >
> > http://barryp.org/software/py-amqplib/
> >
> > The library is a bit rough, but I've been using it with RabbitMQ for a
> > while now.
>
> Great stuff, and thanks for releasing it under a public license!
>
> Is there a way to get a non-blocking consumer event loop using your library?

Twisted would be the way to go for this.

Brian

> Thanks,
> Dmitriy
>
>
> _______________________________________________
> rabbitmq-discuss mailing list
> rabbitmq-discuss@lists.rabbitmq.com
> http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
>

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist
Guest
Posted: Tue Dec 04, 2007 8:49 pm Reply with quote
Guest
Dmitriy Samovskiy wrote:

> Is there a way to get a non-blocking consumer event loop using your
> library?

Channel.basic_get() doesn't block, it just returns None if the queue is
empty. So you could poll that occasionally in your own loop - but the
downside would be more network traffic back and forth.

Barry

_______________________________________________
rabbitmq-discuss mailing list
rabbitmq-discuss@lists.rabbitmq.com
http://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss
Post recived from mailinglist

Display posts from previous:  

All times are GMT
Page 1 of 1
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum