gevent Blog Code Docs Download Mailing list Issues IRC Donate ¶ gevent is a coroutine-based Python networking library. Features include: Fast event loop based on libev (epoll on Linux, kqueue on FreeBSD, select on Mac OS X). Lightweight execution units based on greenlet. API that re-uses concepts from the Python standard library (e.g. gevent.event.Event , gevent.queue.Queue ). Cooperative socket and ssl modules. Ability to use standard library and 3rd party modules written for standard blocking sockets ( gevent.monkey ). DNS queries performed through threadpool (default) or through c-ares (enabled via GEVENT_RESOLVER=ares env var). TCP/UDP/HTTP servers Subprocess support (through gevent.subprocess ) Thread pools ¶ gevent 1.1 runs on Python 2 and Python 3. Versions 2.6 and 2.7 of Python 2 are supported, and versions 3.3, 3.4, and 3.5 of Python 3 are support...