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

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.

Contact me directly at denis.bilenko at