gevent / README.rst


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 (gevent.Greenlet)
  • familiar synchronization primitives (gevent.event, gevent.queue)
  • socket module that cooperates (gevent.socket)
  • WSGI server on top of libevent-http (gevent.wsgi)
  • DNS requests done through libevent-dns
  • monkey patching utility to get pure Python modules to cooperate (gevent.monkey)


Browse examples/ folder at bitbucket or google code.


Read the documentation online at

get gevent

The latest release (0.11.1) 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