Skip to main content

Coroutine-based network library

Project description

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.

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gevent-1.5a2.tar.gz (5.4 MB view details)

Uploaded Source

Built Distributions

gevent-1.5a2-pp271-pypy_41-macosx_10_14_x86_64.whl (1.2 MB view details)

Uploaded PyPymacOS 10.14+ x86-64

gevent-1.5a2-cp38-cp38-manylinux2010_x86_64.whl (7.2 MB view details)

Uploaded CPython 3.8manylinux: glibc 2.12+ x86-64

gevent-1.5a2-cp38-cp38-macosx_10_9_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.8macOS 10.9+ x86-64

gevent-1.5a2-cp37-cp37m-manylinux2010_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.7mmanylinux: glibc 2.12+ x86-64

gevent-1.5a2-cp37-cp37m-macosx_10_9_x86_64.whl (3.2 MB view details)

Uploaded CPython 3.7mmacOS 10.9+ x86-64

gevent-1.5a2-cp36-cp36m-manylinux2010_x86_64.whl (6.5 MB view details)

Uploaded CPython 3.6mmanylinux: glibc 2.12+ x86-64

gevent-1.5a2-cp36-cp36m-macosx_10_6_intel.whl (4.3 MB view details)

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

gevent-1.5a2-cp35-cp35m-manylinux2010_x86_64.whl (6.4 MB view details)

Uploaded CPython 3.5mmanylinux: glibc 2.12+ x86-64

gevent-1.5a2-cp35-cp35m-macosx_10_6_intel.whl (4.2 MB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

gevent-1.5a2-cp27-cp27mu-manylinux2010_x86_64.whl (6.0 MB view details)

Uploaded CPython 2.7mumanylinux: glibc 2.12+ x86-64

gevent-1.5a2-cp27-cp27m-manylinux2010_x86_64.whl (6.0 MB view details)

Uploaded CPython 2.7mmanylinux: glibc 2.12+ x86-64

gevent-1.5a2-cp27-cp27m-macosx_10_9_x86_64.whl (3.2 MB view details)

Uploaded CPython 2.7mmacOS 10.9+ x86-64

File details

Details for the file gevent-1.5a2.tar.gz.

File metadata

  • Download URL: gevent-1.5a2.tar.gz
  • Upload date:
  • Size: 5.4 MB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2.tar.gz
Algorithm Hash digest
SHA256 9c6de6aa9365929d6747b6bf376aaf880553b1ca08c61fc8eef4ed4e31a7e34a
MD5 3b5dda5ac5b55ef11c757137c3deafb5
BLAKE2b-256 8036b732b674fd172922d64a5e9e447f8e287c45fa4743c03ab363a73a242e44

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-pp271-pypy_41-macosx_10_14_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-pp271-pypy_41-macosx_10_14_x86_64.whl
  • Upload date:
  • Size: 1.2 MB
  • Tags: PyPy, macOS 10.14+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-pp271-pypy_41-macosx_10_14_x86_64.whl
Algorithm Hash digest
SHA256 206c6ddba2391af77cac8f1512556631f0da7bba3f63d2dd90e82a76d6be7922
MD5 90de84d7f1a11a76042abc89f041fc34
BLAKE2b-256 5b3f1c4da9a61ab70a8092ac7337a762d286d459db916fe59e3a8a7f154d268b

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp38-cp38-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp38-cp38-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 7.2 MB
  • Tags: CPython 3.8, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp38-cp38-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 b45eb451132963b33bb05d84c7549c763f94eea6425cf43b7c22038cc03c245d
MD5 88a1a9b4c393bae5bd50e516f8d17505
BLAKE2b-256 75ce395d2b4d2c9e18bb958fb2aa7583875e54326947242fc1a7c01e1d1311b2

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 95d83077d78d6232a59b40310a85bd786257e379c129f95aed2ac4676f57d022
MD5 62800060de8833d658f8338e86cf8c96
BLAKE2b-256 30814576d46e8f5719619aa99b5b590e7a180384eabf5bed099eda872d60ed5f

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp37-cp37m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp37-cp37m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: CPython 3.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp37-cp37m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 8d07e77ae14f9b29eb6bf5414b41d72ffd19b6b2cf88a2fb22d8b9eef847c2d7
MD5 792ec8b76a424bb9171415bd4afca77d
BLAKE2b-256 db3229b94a260d11a1956db9d1f905fd208be77d74fb0374a2c8596963972ba3

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 c9e2520985e2cfde4c6858a541c5a731152c62c333ed843fb070691f819eb2d0
MD5 1b093978e6d8cc37f36191770b5e1c88
BLAKE2b-256 f002170fcac3d58b2bed9252991c8a7d9a81e7849f02f38e96bdbd0469829bd7

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp36-cp36m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp36-cp36m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.5 MB
  • Tags: CPython 3.6m, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp36-cp36m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 a250e1dc58fb2947491a53f039e48d4f36d921e534f751fe3917783b9d764c02
MD5 652f28854002ba777f42fed489af5653
BLAKE2b-256 1bfbc8226386bb28831a951fc5a832d518a78ad3661be2f8c322d01411bf6aef

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: gevent-1.5a2-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 4.3 MB
  • Tags: CPython 3.6m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 45f7c22d68a1025ea027f0788dac8c481d0929de409ec9f81299bf48da0fcee7
MD5 0a9388fe4a373dd5cfd1ae3685be79cf
BLAKE2b-256 dd8dc2a62a199c20c694ba6c5ec0ba2ecab7314dd9bc55717e7ae09adc8f1b91

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp35-cp35m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp35-cp35m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.4 MB
  • Tags: CPython 3.5m, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp35-cp35m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 1900f284d5a0486f71f8cb87bc4cda9c6117121fcbf5a4075d2a5380dccb47f6
MD5 90b5c3a38b8201a9f8ea9b529094ae13
BLAKE2b-256 246a6364cea64f53334ac1d43fe126228a6bd3b71d5c1b211ecc749127adcf5a

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: gevent-1.5a2-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 4.2 MB
  • Tags: CPython 3.5m, macOS 10.6+ Intel (x86-64, i386)
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 2658cf03ff58e5cf82995687a45fd4668ed1e3c9fa498c804ad033b87307d9b1
MD5 f6843b18279cd7f79adce78468ca8a54
BLAKE2b-256 dfe2cd6b6ef427592957dee431b9a3afbf463c84277f2cefa41e36e3f180760b

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp27-cp27mu-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp27-cp27mu-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 2.7mu, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp27-cp27mu-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 c515c4581aee2553f66ae6336b54372f4229a159b3a76d1ccb4e53147569f38f
MD5 4ee47899b2d64833014ff2fd477f1cc2
BLAKE2b-256 59069e241bce87bd2cd7218b6a5b36376f7728bb792acb4f0289838d5c2076ef

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp27-cp27m-manylinux2010_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp27-cp27m-manylinux2010_x86_64.whl
  • Upload date:
  • Size: 6.0 MB
  • Tags: CPython 2.7m, manylinux: glibc 2.12+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp27-cp27m-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 7024bc3bcd2dc53c84a9c7f8b9dc9d3e970b13e80597b4c8cca32aed4a015c23
MD5 0fe7f8a6b95828fe129438f20baf176b
BLAKE2b-256 a59b547628f14d4e4f74db90ec17fdb9f5dff659739fd1d345ec42dd08859d67

See more details on using hashes here.

File details

Details for the file gevent-1.5a2-cp27-cp27m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: gevent-1.5a2-cp27-cp27m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 3.2 MB
  • Tags: CPython 2.7m, macOS 10.9+ x86-64
  • Uploaded using 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

File hashes

Hashes for gevent-1.5a2-cp27-cp27m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 4bb0a53c56041727c7c3e08f2c40af3b5ac6668b8a7a1f34b52488492a6cbd2f
MD5 0aeb1cc338489ce1fdefd6ff983972db
BLAKE2b-256 ccfe333d1bd2be22eaf7796cd867ce98d0e243ddc6793c7925ab50abd5d5cc9c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page