This section of the document groups gevent APIs by functional area. For an alphabetical listing by module, see Module Listing.
This section of the document groups gevent APIs by module.
gevent
– common functions
gevent.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
– Cooperative contextvars
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 cooperative
gevent.hub
- The Event Loop and the Hub
gevent.local
– Greenlet-local objectsgevent.lock
– Locking primitivesgevent.monkey
– Make the standard library cooperative
gevent.os
– Low-level operating system functions from os
gevent.pool
– Managing greenlets in a groupgevent.pywsgi
– A pure-Python, gevent-friendly WSGI servergevent.queue
– Synchronized queues
gevent.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.server
– TCP/SSL servergevent.signal
– Cooperative implementation of special cases of signal.signal()
gevent.socket
– Cooperative low-level networking interface
gevent.ssl
– Secure Sockets Layer (SSL/TLS) module
gevent.subprocess
– Cooperative subprocess
modulegevent.thread
– Implementation of the standard thread
module that spawns greenletsgevent.threading
– Implementation of the standard threading
using greenletsgevent.threadpool
- A pool of native threadsgevent.time
– Makes sleep gevent awaregevent.util
– Low-level utilitiesThese modules are deprecated and should not be used in new code.
Next page: Cooperative Timeouts Using gevent.Timeout