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.

Release files for gevent 1.5a1

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.5a1
File Size Uploaded
gevent-1.5a1.tar.gz 5.0 MB Details

Built distributions (wheels)

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

Total release size: 76.6 MB

Release files / gevent-1.5a1.tar.gz

Download URL gevent-1.5a1.tar.gz
Size 5.0 MB
Tags Source
SHA-256 checksum
How to use checksums
1141c62acee22328436cb09a7e1bcc6f652e88cf913d5de1066b38b6af7e221d
BLAKE2b-256 checksum
How to use checksums
534a076bd8c6d3328381bdec816ba7f078276dd4618eb2fe289bec172779d5ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-pp271-pypy_41-win32.whl

Download URL gevent-1.5a1-pp271-pypy_41-win32.whl
Size 1.1 MB
Tags PyPy 2.71 PyPy 4.1 Windows x86-32
SHA-256 checksum
How to use checksums
17a9686ed963c7f0d370bc096b0c91e19d99f2e04f65a5de2695577e1071d887
BLAKE2b-256 checksum
How to use checksums
e01867b46f7d5bf21e0dab7762847dd49df3448bfd820dac234a6d9aaa0d4de7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-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
66f87af4894de2f2a739776737b47088770554003ddcf706ce8567d2e48a1c78
BLAKE2b-256 checksum
How to use checksums
5fc81f8bd202b437a2ea3dc353a70577d6c9dc0277ee4992e17b97d0c1636fcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp37-cp37m-win_amd64.whl

Download URL gevent-1.5a1-cp37-cp37m-win_amd64.whl
Size 3.0 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
df9c99c4e23e795f342b9bb489f209f569fb549095b7b3ca1b31bd2c6a2106d7
BLAKE2b-256 checksum
How to use checksums
5d265275d4ccdbefed147122c3917f727aa870ddf6720467a98605af5052af1e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp37-cp37m-win32.whl

Download URL gevent-1.5a1-cp37-cp37m-win32.whl
Size 2.9 MB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
0835990d528f1b613df99816b409d4916dee487e87289837375a49772e748a29
BLAKE2b-256 checksum
How to use checksums
6fa3c16bb15680776cb47567906e906239b6436f3f0ab28512ad2cab04fc650c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-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
34d2d1dfade0f83f8938f69c981f1b281a8756d6cabcc60daa1ee3f3f1f1e5f2
BLAKE2b-256 checksum
How to use checksums
3fb4c2acb758ae147c4320f3e0903afbc1031179e53740e2cf815f73ec51c898
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-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
9b324d004229e438f8c0cbe7617c06acaf6c9d9df400615249f39704d0fbb5c7
BLAKE2b-256 checksum
How to use checksums
1fb83003f41976c25569e672be3457ae84fcbd404a954e8ab1c356d8ef311735
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp36-cp36m-win_amd64.whl

Download URL gevent-1.5a1-cp36-cp36m-win_amd64.whl
Size 3.0 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
76d3a9575c86c3f6d865d2688adb6bf6eb43bb9dd90136224c746535137133eb
BLAKE2b-256 checksum
How to use checksums
7ee567627cf3a476309d0cfdfae715440303f6d8dabcbaa43045b1f0f406fdc0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp36-cp36m-win32.whl

Download URL gevent-1.5a1-cp36-cp36m-win32.whl
Size 2.9 MB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
1acf2cb1b8c3c34f53397d7e5a1f883b1697fc5fd49789887583c3121332bdca
BLAKE2b-256 checksum
How to use checksums
6c834f1ad28242f4e2509a9ca3e6ad14a51e6f2b08604306081e9b8d91567e5a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-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
09120f9c75af384f8ac65b8459e033fd99ab5fd665b3c01e3a2470c39c3cf60b
BLAKE2b-256 checksum
How to use checksums
51d8ca502e15462efb1e610d6b14d64882c106b125e9391f140ede44e3f8299b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-cp36-cp36m-macosx_10_6_intel.whl
Size 4.2 MB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
c59a7e837023db0b1c69a22820732d49f52cdb9a18c2d828cfce09f8dacd9f7d
BLAKE2b-256 checksum
How to use checksums
220a438442871fbd6316fe4aac698126a51dc6bb7ec9d69ea50bc023483a9f47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp35-cp35m-win_amd64.whl

Download URL gevent-1.5a1-cp35-cp35m-win_amd64.whl
Size 3.0 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
6c08d260cae5b28d6a8d3a26e2a8759e65b1585877ce218f5140f465b0c6f846
BLAKE2b-256 checksum
How to use checksums
8f9f7be5d5df603149703065945a1dca2722b597f6a976ba206e3f6a8b46b721
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp35-cp35m-win32.whl

Download URL gevent-1.5a1-cp35-cp35m-win32.whl
Size 2.8 MB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
c3afebb579423081b29a800d65838fe79292f7adf85e72f0734bd628bffbf624
BLAKE2b-256 checksum
How to use checksums
4e4b14a8e53ba4bd23f5db19ea5601f581f3f73f5aa8cbf1372dd66c8a479d27
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-cp35-cp35m-manylinux2010_x86_64.whl
Size 6.3 MB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
018677cd18b9e8f20d118fc425ffde9b7ce281aa39d66a9b689153bfaa40661d
BLAKE2b-256 checksum
How to use checksums
44ee10359d65496b117683503856c9e03a0c9d485e98d59f81ef53baa6890c4c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-cp35-cp35m-macosx_10_6_intel.whl
Size 4.1 MB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
b3b17b3e41d7f531d30d1461deccb346bba7a54f09a7f4a1686abf6c2731acb6
BLAKE2b-256 checksum
How to use checksums
c7d03bad267dd983c28944d2f08093d7b79b350a94485707300032200217218a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-cp27-cp27mu-manylinux2010_x86_64.whl
Size 5.9 MB
Tags CPython 2.7 CPython 2.7 pymalloc wide-unicode Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
de2bed77aca19ad915293a916c67cff8eb36e3616828d91e2ed4cc16f1d9f967
BLAKE2b-256 checksum
How to use checksums
8214e945d1f8b6179a1959ec7a479b655c7021a3d580b49106ea56864c50e4c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp27-cp27m-win_amd64.whl

Download URL gevent-1.5a1-cp27-cp27m-win_amd64.whl
Size 3.0 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
80a6da1437e3b6afe197477bbf80c7d0a6efa3265f99c3064e2a17d811485a9f
BLAKE2b-256 checksum
How to use checksums
93afcf044a586e925f78d6f99cee178100d7b878bff69e79b45111e62f2e3acb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release files / gevent-1.5a1-cp27-cp27m-win32.whl

Download URL gevent-1.5a1-cp27-cp27m-win32.whl
Size 2.9 MB
Tags CPython 2.7 CPython 2.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
0bd38a07e723f5a7feea267a3cf7a19db65583552b5d2960050df1208e396f2b
BLAKE2b-256 checksum
How to use checksums
20e3a1b255d5f40cba7b141fb50ef8eaa575ed449f22b4990799ec50196544ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-cp27-cp27m-manylinux2010_x86_64.whl
Size 5.9 MB
Tags CPython 2.7 CPython 2.7 pymalloc Linux glibc 2.12+ x86-64
SHA-256 checksum
How to use checksums
8fa234dadacf8e1920c088bd7ee2220a2a5e45f098b6f603995bb3e4bb27877a
BLAKE2b-256 checksum
How to use checksums
187be6c7d7b634c22d96a1e4bb55900fc1c7587388fea47aac62963feeab7ff1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

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

Download URL gevent-1.5a1-cp27-cp27m-macosx_10_9_x86_64.whl
Size 3.1 MB
Tags CPython 2.7 CPython 2.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
63d9deb376144836e760207c2d7cd009b3b6a2e01f3634dcfc07d9d3b396cfe4
BLAKE2b-256 checksum
How to use checksums
878a6a7ffe79f2cce4b64f2f31a9be2dbfd32ccb06868ad94013c5594302d36c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.0 requests-toolbelt/0.8.0 tqdm/4.27.0 CPython/3.7.3

Release history Release notifications | RSS feed

1.5.0

23 release files

This release

1.5a1 This release

20 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