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 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.

Comment on the blog.

Send your questions and suggestions to the mailing list.

Contact me directly at