[Twisted-Python] Libevent bindings and reactor
therve at free.fr
Sat Nov 22 10:06:47 EST 2008
I've been working on a Libevent reactor for quite a long time now:
http://twistedmatrix.com/trac/ticket/1930 (sheesh, 2 years). For
different reasons I didn't manage (yet) to include something within
Twisted itself, so I (re)started an external project to do it.
For those who don't know libevent, it's an abstraction layer around
select/poll/epoll/... to write portable applications. See
I thought it'll be easier for people who just want to use the libevent
bindings to have an external project, and it's also a way to make people
test it and get some feedback, without having to checkout a SVN branch.
The project is now accessible on launchpad:
https://launchpad.net/python-libevent (original project is recorded
there: http://pypi.python.org/pypi/libevent-python). The latest version,
0.3, includes a libevent reactor, and a twisted plugins so that it's
easily usable with trial and twistd (just pass -r libevent to both once
Note that these bindings only work with a recent enough version of
Libevent itself (1.4). My PPA (https://launchpad.net/~therve/+archive)
should help users of Hardy (although for some reasons the twisted plugin
doesn't install correctly).
Thanks for any comment/feedback.
More information about the Twisted-Python