1. Ludvig Ericson
  2. gevent



gevent is a coroutine-based Python networking library that uses greenlet to provide a high-level synchronous API on top of libevent event loop.

Features include:

  • convenient API around greenlets
  • familiar synchronization primitives (gevent.event, gevent.queue)
  • socket module that cooperates (gevent.socket)
  • WSGI server on top of libevent-http (gevent.wsgi2)
  • DNS requests done through libevent-dns
  • monkey patching utility to get pure Python modules to cooperate


Browse examples/ folder at bitbucket or google code.


Read the documentation online at http://gevent.org

get gevent

The latest release (0.11.0) is available on the Python Package Index.

The current development version is available in a Mercurial repository:


Install the dependencies:

gevent runs on Python 2.4 and higher.


Use Issue Tracker on Google Code for the bug reports / feature requests.

Send your questions and suggestions to the eventletdev mailing list.

Contact me directly at denis.bilenko@gmail.com.