Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

gevent

https://github.com/gevent/gevent/workflows/gevent%20testing/badge.svg https://ci.appveyor.com/api/projects/status/bqxl88yhpho223jg?svg=true https://coveralls.io/repos/gevent/gevent/badge.svg?branch=master&service=github

gevent is a coroutine -based Python networking library that uses greenlet to provide a high-level synchronous API on top of the libev or libuv event loop.

Features include:

gevent is inspired by eventlet but features a more consistent API, simpler implementation and better performance. Read why others use gevent and check out the list of the open source projects based on gevent.

gevent was written by Denis Bilenko.

Since version 1.1, gevent is maintained by Jason Madden for NextThought with help from the contributors and is licensed under the MIT license.

See what’s new in the latest major release.

Check out the detailed changelog for this version.

Read the documentation online at http://www.gevent.org.

Post issues on the bug tracker, discuss and ask open ended questions on the mailing list, and find announcements and information on the blog and twitter (@gevent).

Installation and Requirements

Supported Platforms

This version of gevent runs on Python 2.7.9 and up, and many versions of Python 3 (for exact details, see the classifiers on the PyPI page or in setup.py). gevent requires the greenlet library and will install the cffi library by default on Windows. The cffi library will become the default on all platforms in a future release of gevent.

This version of gevent also runs on PyPy 7.3.7 (7.3.6 for PyPy2) or above. On PyPy, there are no external dependencies.

gevent is tested on Windows, macOS, and Linux, and should run on most other Unix-like operating systems (e.g., FreeBSD, Solaris, etc.)

Older Versions of Python

Users of older versions of Python 2 or Python 3 may install an older version of gevent. Note that these versions are generally not supported.

Python Version

Gevent Version

2.5

1.0.x

2.6

1.1.x

<= 2.7.8

1.2.x

3.3

1.2.x

3.4.0 - 3.4.2

1.3.x

3.4.3

1.4.x

3.5.x

20.9.0

Installation

gevent and greenlet can both be installed with pip, e.g., pip install gevent. Installation using buildout is also supported.

On Windows, macOS, and Linux, both gevent and greenlet are distributed as binary wheels.

Installing From Source

If you are unable to use the binary wheels (for platforms where no pre-built wheels are available or if wheel installation is disabled), you can build gevent from source. A normal pip install will fall back to doing this if no binary wheel is available. See Installing From Source for more, including common installation issues.

Extra Dependencies

There are a number of additional libraries that extend gevent’s functionality and will be used if they are available. All of these may be installed using setuptools extras, as named below, e.g., pip install gevent[events].

events

In versions of gevent up to and including 20.5.0, this provided configurable event support using zope.event and was highly recommended.

In versions after that, this extra is empty and does nothing. It will be removed in gevent 21.0.

dnspython

Enables a pure-Python resolver, backed by dnspython. On Python 2, this also includes idna. They can be installed with the dnspython extra.

monitor

Enhancements to gevent’s self-monitoring capabilities. This includes the psutil library which is needed to monitor memory usage. (Note that this may not build on all platforms.)

recommended

A shortcut for installing suggested extras together. This includes the non-test extras defined here, plus:

test

Everything needed to run the complete gevent test suite.

Metadata

Release files for levoai-gevent 21.12.1.dev0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for levoai-gevent 21.12.1.dev0
File
levoai_gevent-21.12.1.dev0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.12+ x86-64 Details
levoai_gevent-21.12.1.dev0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.9 CPython 3.9 Linux glibc 2.12+ x86-64 Details
levoai_gevent-21.12.1.dev0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
levoai_gevent-21.12.1.dev0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
levoai_gevent-21.12.1.dev0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details

Total release size: 30.3 MB

Release files / levoai_gevent-21.12.1.dev0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL levoai_gevent-21.12.1.dev0-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 6.1 MB
Tags CPython 3.10 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
e96589d1195d2fe0d1e0d943816d55259631d8614266484e57887255897f814a
BLAKE2b-256 checksum
How to use checksums
c2722139c1c67453fad8bb6acb19b154d80b0842ecb1b524641a092302783870
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / levoai_gevent-21.12.1.dev0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL levoai_gevent-21.12.1.dev0-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 6.2 MB
Tags CPython 3.9 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
75a0a118218719b435323c3b428714a665e2df8c281bfefeb6d554d47723a668
BLAKE2b-256 checksum
How to use checksums
24126030f93a3a6df82284420a32408c0e3a2c1d50e8a310f384c969d937c647
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / levoai_gevent-21.12.1.dev0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL levoai_gevent-21.12.1.dev0-cp38-cp38-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 6.5 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
0d8f7127dcc2cacb358412e81dd31a149267178633bd3e8ad3218a1c08e54652
BLAKE2b-256 checksum
How to use checksums
0a1d7c801bafbec8103d7bd18f5e13d83021a2a69614a2088f8a753cec875f74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / levoai_gevent-21.12.1.dev0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL levoai_gevent-21.12.1.dev0-cp37-cp37m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 5.8 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
ba09b9456ab4a8d5baa0caa8dc0ea7533126e46f5bce7149a0081f35874f1cff
BLAKE2b-256 checksum
How to use checksums
c9d5336c484f72fb5171d3f57b0157ee545760d848270847c1cb98916fdb9d74
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release files / levoai_gevent-21.12.1.dev0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl

Download URL levoai_gevent-21.12.1.dev0-cp36-cp36m-manylinux_2_12_x86_64.manylinux2010_x86_64.whl
Size 5.7 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
accef74ba0edc3476503b9f33ed0b3e254109d72996d86b003f3fbb602b9943c
BLAKE2b-256 checksum
How to use checksums
24af425b87a99e3c189ec000331e6a0ca5939851af4f9a68aee07da3122c3b3e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12

Release history Release notifications | RSS feed

This release

21.12.1.dev0 This release

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page