gevent
– common functionsgevent
– common functionsgevent.Timeout
gevent.socket
– Cooperative low-level networking interfacegevent.ssl
– Secure Sockets Layer (SSL/TLS) modulegevent.select
– Waiting for I/O completiongevent.selectors
– High-level IO Multiplexinggevent.event
– Notifications of multiple listenersgevent.queue
– Synchronized queuesgevent.local
– Greenlet-local objectsgevent.lock
– Locking primitivesgevent.hub
- The Event Loop and the Hubgevent.core
- (deprecated) event loop abstractiongevent
– common functionsgevent.backdoor
– Interactive greenlet-based network console that can be used in any processgevent.baseserver
– Base class for implementing serversgevent.builtins
– gevent friendly implementations of builtin functionsgevent.contextvars
– Cooperativecontextvars
gevent.core
- (deprecated) event loop abstractiongevent.event
– Notifications of multiple listenersgevent.events
– Publish/subscribe event infrastructuregevent.exceptions
– Exceptionsgevent.fileobject
– Wrappers to make file-like objects cooperativegevent.hub
- The Event Loop and the Hubgevent.local
– Greenlet-local objectsgevent.lock
– Locking primitivesgevent.monkey
– Make the standard library cooperativegevent.os
– Low-level operating system functions fromos
gevent.pool
– Managing greenlets in a groupgevent.pywsgi
– A pure-Python, gevent-friendly WSGI servergevent.queue
– Synchronized queuesgevent.resolver.ares
– c-ares based hostname resolvergevent.resolver.blocking
– Non-cooperative resolvergevent.resolver.dnspython
– Pure Python hostname resolvergevent.resolver.thread
– thread based hostname resolvergevent.select
– Waiting for I/O completiongevent.selectors
– High-level IO Multiplexinggevent.server
– TCP/SSL servergevent.signal
– Cooperative implementation of special cases ofsignal.signal()
gevent.socket
– Cooperative low-level networking interfacegevent.ssl
– Secure Sockets Layer (SSL/TLS) modulegevent.subprocess
– Cooperativesubprocess
modulegevent.thread
– Implementation of the standardthread
module that spawns greenletsgevent.threading
– Implementation of the standardthreading
using greenletsgevent.threadpool
- A pool of native threadsgevent.time
– Makessleep gevent awaregevent.util
– Low-level utilitiesgevent.ares
– Backwards compatibility alias forgevent.resolver.cares
gevent.wsgi
– Historical note only; does not existgevent is acoroutine -basedPython networking library that usesgreenlet to provide a high-level synchronous API on top of thelibevorlibuv event loop.
Features include:
Lightweight execution units based on greenlets.
API that re-uses concepts from the Python standard library (forexamples there areevents andqueues).
Cooperative DNS queries performed through a threadpool,dnspython, or c-ares.
Monkey patching utility to get 3rd party modules to become cooperative
TCP/UDP/HTTP servers
Subprocess support (throughgevent.subprocess)
Thread pools
gevent isinspired by eventlet but features a more consistent API,simpler implementation and better performance. Read why othersusegevent and check out the list of theopen source projects based ongevent.
gevent was written byDenis Bilenko.
Since version 1.1, gevent is maintained by Jason Madden forNextThought (through gevent 21) andInstitutional Shareholder Serviceswith help from thecontributors and islicensed under the MIT license.
Seewhat’s new in the latest major release.
Check out the detailedchangelog for this version.