gevent 25.9.1


pip install gevent

  Latest version

Released: Sep 17, 2025


Meta
Author: Denis Bilenko
Maintainer: Jason Madden
Requires Python: >=3.9

Classifiers

Programming Language
  • Python :: 3 :: Only
  • Python :: 3.9
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: Implementation :: CPython
  • Python :: Implementation :: PyPy

Operating System
  • MacOS :: MacOS X
  • POSIX
  • Microsoft :: Windows

Topic
  • Internet
  • Software Development :: Libraries :: Python Modules

Intended Audience
  • Developers

Development Status
  • 4 - Beta

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 (through gevent 21) and Institutional Shareholder Services 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 3.9 and up, (for exact details of tested versions, 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 is also tested on on PyPy 3.10 (7.3.12); it should run on PyPy 3.9 and 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

2.7.9 - 2.7.18, 3.6, 3.7

22.10

3.8

24.2.1

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 additions that improve gevent’s operation on certain platforms (for example, in the past, it has included backports of newer APIs).

test

Everything needed to run the complete gevent test suite.

25.9.1 Sep 17, 2025
25.8.2 Aug 29, 2025
25.8.1 Aug 28, 2025
25.5.1 May 12, 2025
25.4.2 Apr 24, 2025
25.4.1 Apr 17, 2025
24.11.1 Nov 11, 2024
24.10.3 Oct 18, 2024
24.10.2 Oct 11, 2024
24.10.1 Oct 09, 2024
24.2.1 Feb 14, 2024
23.9.1 Sep 12, 2023
23.9.0.post1 Sep 02, 2023
23.9.0 Sep 01, 2023
23.7.0 Jul 11, 2023
22.10.2 Oct 31, 2022
22.10.1 Oct 14, 2022
22.8.0 Oct 08, 2022
21.12.0 Dec 11, 2021
21.8.0 Aug 05, 2021
21.1.2 Jan 20, 2021
21.1.1 Jan 18, 2021
21.1.0 Jan 15, 2021
20.12.1 Dec 27, 2020
20.12.0 Dec 22, 2020
20.9.0 Sep 22, 2020
20.6.2 Jun 16, 2020
20.6.1 Jun 10, 2020
20.6.0 Jun 06, 2020
20.5.2 May 28, 2020
20.5.1 May 26, 2020
20.5.0 May 01, 2020
20.4.0 Apr 22, 2020
1.5.0 Apr 10, 2020
1.5a4 Mar 23, 2020
1.5a3 Jan 01, 2020
1.5a2 Oct 22, 2019
1.5a1 May 02, 2019
1.4.0 Jan 04, 2019
1.3.7 Oct 12, 2018
1.3.6 Aug 17, 2018
1.3.5 Jul 16, 2018
1.3.4 Jun 20, 2018
1.3.3 Jun 08, 2018
1.3.2.post0 May 30, 2018
1.3.2 May 29, 2018
1.3.1 May 18, 2018
1.3.0 May 11, 2018
1.3b2 May 03, 2018
1.3b1 Apr 13, 2018
1.3a2 Mar 06, 2018
1.3a1 Jan 27, 2018
1.2.2 Jun 05, 2017
1.2.1 Jan 12, 2017
1.2.0 Dec 23, 2016
1.2a2 Dec 09, 2016
1.2a1 Oct 27, 2016
1.1.2 Jul 21, 2016
1.1.1 Apr 04, 2016
1.1.0 Mar 05, 2016
1.1rc5 Feb 24, 2016
1.1rc4 Feb 16, 2016
1.1rc3 Jan 04, 2016
1.1rc2 Dec 11, 2015
1.1rc1 Nov 14, 2015
1.1b6 Oct 17, 2015
1.1b5 Sep 18, 2015
1.1b4 Sep 04, 2015
1.1b3 Aug 16, 2015
1.1b2 Aug 05, 2015
1.1b1 Jul 17, 2015
1.1a2 Jul 08, 2015
1.1a1 Jun 29, 2015
1.0.2 May 23, 2015
1.0.1 Apr 30, 2014
1.0 Nov 26, 2013
0.13.8 Sep 06, 2012
0.13.7 Apr 12, 2012
0.13.6 May 02, 2011
0.13.5 Apr 21, 2011
0.13.4 Apr 11, 2011
0.13.3 Feb 07, 2011
0.13.2 Jan 28, 2011
0.13.1 Sep 23, 2010
0.13.0 Jul 14, 2010
0.12.2 Mar 02, 2010
0.12.1 Feb 26, 2010
0.12.0 Feb 05, 2010
0.11.2 Dec 10, 2009
0.11.1 Nov 15, 2009
0.11.0 Oct 09, 2009
0.10.0 Aug 26, 2009
0.9.3 Aug 03, 2009
0.9.2 Jul 20, 2009
1.3a2.win32 Mar 06, 2018
1.3a2.win Mar 06, 2018
1.3a1.win32 Jan 27, 2018
1.3a1.win Jan 27, 2018
1.2a1.win32 Oct 27, 2016
1.2a1.win Oct 27, 2016
1.2.2.win32 Jun 05, 2017
1.2.2.win Jun 05, 2017
1.2.1.win32 Jan 12, 2017
1.2.1.win Jan 12, 2017
1.1rc5.win32 Feb 24, 2016
1.1rc5.win Feb 24, 2016
1.1rc4.win32 Feb 16, 2016
1.1rc4.win Feb 16, 2016
1.1rc3.win32 Jan 04, 2016
1.1rc3.win Jan 04, 2016
1.1rc2.win32 Dec 11, 2015
1.1rc2.win Dec 11, 2015
1.1.2.win32 Jul 21, 2016
1.1.2.win Jul 21, 2016
1.1.1.win32 Apr 04, 2016
1.1.1.win Apr 04, 2016
1.1.0.win32 Mar 05, 2016
1.1.0.win Mar 05, 2016
0.13.8.win32 Sep 06, 2012
0.13.7.win32 Apr 12, 2012
0.13.2.win32 Jan 28, 2011
0.13.1.win32 Sep 23, 2010
0.13.0.win32 Jul 14, 2010

Wheel compatibility matrix

Platform CPython 3.9 CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14
macosx_11_0_universal2
manylinux2014_aarch64
manylinux2014_ppc64le
manylinux2014_s390x
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_ppc64le
manylinux_2_17_s390x
manylinux_2_17_x86_64
musllinux_1_2_aarch64
musllinux_1_2_x86_64
win32
win_amd64

Files in release

gevent-25.9.1-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (1.7MiB)
gevent-25.9.1-cp310-cp310-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl (1.8MiB)
gevent-25.9.1-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.whl (1.8MiB)
gevent-25.9.1-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.1MiB)
gevent-25.9.1-cp310-cp310-musllinux_1_2_aarch64.whl (1.8MiB)
gevent-25.9.1-cp310-cp310-musllinux_1_2_x86_64.whl (2.1MiB)
gevent-25.9.1-cp310-cp310-win_amd64.whl (1.6MiB)
gevent-25.9.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (1.7MiB)
gevent-25.9.1-cp311-cp311-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl (1.8MiB)
gevent-25.9.1-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.whl (1.7MiB)
gevent-25.9.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.0MiB)
gevent-25.9.1-cp311-cp311-musllinux_1_2_aarch64.whl (1.7MiB)
gevent-25.9.1-cp311-cp311-musllinux_1_2_x86_64.whl (2.1MiB)
gevent-25.9.1-cp311-cp311-win_amd64.whl (1.6MiB)
gevent-25.9.1-cp312-cp312-macosx_11_0_universal2.whl (2.8MiB)
gevent-25.9.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (1.7MiB)
gevent-25.9.1-cp312-cp312-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl (1.8MiB)
gevent-25.9.1-cp312-cp312-manylinux2014_s390x.manylinux_2_17_s390x.whl (1.8MiB)
gevent-25.9.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.0MiB)
gevent-25.9.1-cp312-cp312-musllinux_1_2_aarch64.whl (1.7MiB)
gevent-25.9.1-cp312-cp312-musllinux_1_2_x86_64.whl (2.1MiB)
gevent-25.9.1-cp312-cp312-win_amd64.whl (1.6MiB)
gevent-25.9.1-cp313-cp313-macosx_11_0_universal2.whl (2.8MiB)
gevent-25.9.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (1.7MiB)
gevent-25.9.1-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl (1.8MiB)
gevent-25.9.1-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl (1.8MiB)
gevent-25.9.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.0MiB)
gevent-25.9.1-cp313-cp313-musllinux_1_2_aarch64.whl (1.7MiB)
gevent-25.9.1-cp313-cp313-musllinux_1_2_x86_64.whl (2.1MiB)
gevent-25.9.1-cp313-cp313-win_amd64.whl (1.6MiB)
gevent-25.9.1-cp314-cp314-macosx_11_0_universal2.whl (2.8MiB)
gevent-25.9.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (1.7MiB)
gevent-25.9.1-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl (1.8MiB)
gevent-25.9.1-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl (1.8MiB)
gevent-25.9.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.0MiB)
gevent-25.9.1-cp314-cp314-musllinux_1_2_aarch64.whl (1.7MiB)
gevent-25.9.1-cp314-cp314-musllinux_1_2_x86_64.whl (2.1MiB)
gevent-25.9.1-cp314-cp314-win_amd64.whl (1.6MiB)
gevent-25.9.1-cp39-cp39-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (2.1MiB)
gevent-25.9.1-cp39-cp39-musllinux_1_2_x86_64.whl (2.1MiB)
gevent-25.9.1-cp39-cp39-win32.whl (1.5MiB)
gevent-25.9.1-cp39-cp39-win_amd64.whl (1.6MiB)
gevent-25.9.1.tar.gz (4.8MiB)
Extras:
Dependencies:
greenlet (>=3.2.2)
cffi and (>=1.17.1)
zope.event
zope.interface