Skip to main content
Pre-release

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

gevent

https://travis-ci.org/gevent/gevent.svg?branch=master https://ci.appveyor.com/api/projects/status/q4kl21ng2yo2ixur?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 feedback and issues on the bug tracker, mailing list, blog and twitter (@gevent).

Installation and Requirements

Supported Platforms

gevent 1.5 runs on Python 2.7.9 and up, and Python 3.5, 3.6 and 3.7. 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.

gevent 1.5 also runs on PyPy 7.0 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

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

gevent has no runtime dependencies outside the standard library, greenlet, and (on some platforms) cffi. However, 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

Configurable event support using zope.event is highly recommended for configurable event support.

dnspython

Enables the new 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.

test

Everything needed to run the complete gevent test suite.

Development

For development information, including installing from git and running tests, see development.

Metadata

Release files for gevent 1.5a2

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

Source distribution (sdist)

Source distribution for gevent 1.5a2
File Size Uploaded
gevent-1.5a2.tar.gz 5.4 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for gevent 1.5a2
File
gevent-1.5a2-pp271-pypy_41-macosx_10_14_x86_64.whl PyPy 2.71 PyPy 4.1 macOS 10.14+ x86-64 Details
gevent-1.5a2-cp38-cp38-manylinux2010_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.12+ x86-64 Details
gevent-1.5a2-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
gevent-1.5a2-cp37-cp37m-manylinux2010_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64 Details
gevent-1.5a2-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
gevent-1.5a2-cp36-cp36m-manylinux2010_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64 Details
gevent-1.5a2-cp36-cp36m-macosx_10_6_intel.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
gevent-1.5a2-cp35-cp35m-manylinux2010_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64 Details
gevent-1.5a2-cp35-cp35m-macosx_10_6_intel.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
gevent-1.5a2-cp27-cp27mu-manylinux2010_x86_64.whl CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64 Details
gevent-1.5a2-cp27-cp27m-manylinux2010_x86_64.whl CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64 Details
gevent-1.5a2-cp27-cp27m-macosx_10_9_x86_64.whl CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64 Details

Total release size: 63.1 MB

Release files / gevent-1.5a2.tar.gz

Download URL gevent-1.5a2.tar.gz
Size 5.4 MB
Tags Source
SHA-256 checksum
How to use checksums
9c6de6aa9365929d6747b6bf376aaf880553b1ca08c61fc8eef4ed4e31a7e34a
BLAKE2b-256 checksum
How to use checksums
8036b732b674fd172922d64a5e9e447f8e287c45fa4743c03ab363a73a242e44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-pp271-pypy_41-macosx_10_14_x86_64.whl

Download URL gevent-1.5a2-pp271-pypy_41-macosx_10_14_x86_64.whl
Size 1.2 MB
Tags PyPy 2.71 PyPy 4.1 macOS 10.14+ x86-64
SHA-256 checksum
How to use checksums
206c6ddba2391af77cac8f1512556631f0da7bba3f63d2dd90e82a76d6be7922
BLAKE2b-256 checksum
How to use checksums
5b3f1c4da9a61ab70a8092ac7337a762d286d459db916fe59e3a8a7f154d268b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp38-cp38-manylinux2010_x86_64.whl

Download URL gevent-1.5a2-cp38-cp38-manylinux2010_x86_64.whl
Size 7.2 MB
Tags CPython 3.8 Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
b45eb451132963b33bb05d84c7549c763f94eea6425cf43b7c22038cc03c245d
BLAKE2b-256 checksum
How to use checksums
75ce395d2b4d2c9e18bb958fb2aa7583875e54326947242fc1a7c01e1d1311b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp38-cp38-macosx_10_9_x86_64.whl

Download URL gevent-1.5a2-cp38-cp38-macosx_10_9_x86_64.whl
Size 3.2 MB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
95d83077d78d6232a59b40310a85bd786257e379c129f95aed2ac4676f57d022
BLAKE2b-256 checksum
How to use checksums
30814576d46e8f5719619aa99b5b590e7a180384eabf5bed099eda872d60ed5f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp37-cp37m-manylinux2010_x86_64.whl

Download URL gevent-1.5a2-cp37-cp37m-manylinux2010_x86_64.whl
Size 6.5 MB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
8d07e77ae14f9b29eb6bf5414b41d72ffd19b6b2cf88a2fb22d8b9eef847c2d7
BLAKE2b-256 checksum
How to use checksums
db3229b94a260d11a1956db9d1f905fd208be77d74fb0374a2c8596963972ba3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL gevent-1.5a2-cp37-cp37m-macosx_10_9_x86_64.whl
Size 3.2 MB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
c9e2520985e2cfde4c6858a541c5a731152c62c333ed843fb070691f819eb2d0
BLAKE2b-256 checksum
How to use checksums
f002170fcac3d58b2bed9252991c8a7d9a81e7849f02f38e96bdbd0469829bd7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp36-cp36m-manylinux2010_x86_64.whl

Download URL gevent-1.5a2-cp36-cp36m-manylinux2010_x86_64.whl
Size 6.5 MB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
a250e1dc58fb2947491a53f039e48d4f36d921e534f751fe3917783b9d764c02
BLAKE2b-256 checksum
How to use checksums
1bfbc8226386bb28831a951fc5a832d518a78ad3661be2f8c322d01411bf6aef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp36-cp36m-macosx_10_6_intel.whl

Download URL gevent-1.5a2-cp36-cp36m-macosx_10_6_intel.whl
Size 4.3 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
45f7c22d68a1025ea027f0788dac8c481d0929de409ec9f81299bf48da0fcee7
BLAKE2b-256 checksum
How to use checksums
dd8dc2a62a199c20c694ba6c5ec0ba2ecab7314dd9bc55717e7ae09adc8f1b91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp35-cp35m-manylinux2010_x86_64.whl

Download URL gevent-1.5a2-cp35-cp35m-manylinux2010_x86_64.whl
Size 6.4 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
1900f284d5a0486f71f8cb87bc4cda9c6117121fcbf5a4075d2a5380dccb47f6
BLAKE2b-256 checksum
How to use checksums
246a6364cea64f53334ac1d43fe126228a6bd3b71d5c1b211ecc749127adcf5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp35-cp35m-macosx_10_6_intel.whl

Download URL gevent-1.5a2-cp35-cp35m-macosx_10_6_intel.whl
Size 4.2 MB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
2658cf03ff58e5cf82995687a45fd4668ed1e3c9fa498c804ad033b87307d9b1
BLAKE2b-256 checksum
How to use checksums
dfe2cd6b6ef427592957dee431b9a3afbf463c84277f2cefa41e36e3f180760b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp27-cp27mu-manylinux2010_x86_64.whl

Download URL gevent-1.5a2-cp27-cp27mu-manylinux2010_x86_64.whl
Size 6.0 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
c515c4581aee2553f66ae6336b54372f4229a159b3a76d1ccb4e53147569f38f
BLAKE2b-256 checksum
How to use checksums
59069e241bce87bd2cd7218b6a5b36376f7728bb792acb4f0289838d5c2076ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp27-cp27m-manylinux2010_x86_64.whl

Download URL gevent-1.5a2-cp27-cp27m-manylinux2010_x86_64.whl
Size 6.0 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
7024bc3bcd2dc53c84a9c7f8b9dc9d3e970b13e80597b4c8cca32aed4a015c23
BLAKE2b-256 checksum
How to use checksums
a59b547628f14d4e4f74db90ec17fdb9f5dff659739fd1d345ec42dd08859d67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release files / gevent-1.5a2-cp27-cp27m-macosx_10_9_x86_64.whl

Download URL gevent-1.5a2-cp27-cp27m-macosx_10_9_x86_64.whl
Size 3.2 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4bb0a53c56041727c7c3e08f2c40af3b5ac6668b8a7a1f34b52488492a6cbd2f
BLAKE2b-256 checksum
How to use checksums
ccfe333d1bd2be22eaf7796cd867ce98d0e243ddc6793c7925ab50abd5d5cc9c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.8.0

Release history Release notifications | RSS feed

1.5.0

23 release files

This release

1.5a2 This release

13 release files

1.3.7

23 release files

1.3.6

23 release files

1.3.5

21 release files

1.3.4

22 release files

1.3.2

16 release files

1.3.1

21 release files

1.3.0

21 release files

1.2.1

28 release files

1.2.0

21 release files

1.1.2

26 release files

1.0.2

7 release files

1.0.1

1 release file

1.0

1 release file

0.13.7

7 release files

0.13.6

1 release file

0.13.5

1 release file

0.13.4

1 release file

0.13.3

1 release file

0.13.2

7 release files

0.13.1

7 release files

0.13.0

7 release files

0.12.2

1 release file

0.12.1

1 release file

0.12.0

1 release file

0.11.2

1 release file

0.11.1

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.3

1 release file

0.9.2

1 release file

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