Skip to main content

Coroutine-based network library (beta release with PyPy and Python 3 support)

Project description

gevent is a coroutine-based Python networking library.

Features include:

  • Fast event loop based on libev.

  • Lightweight execution units based on greenlet.

  • Familiar API that re-uses concepts from the Python standard library.

  • Cooperative sockets with SSL support.

  • DNS queries performed through c-ares or a threadpool.

  • Ability to use standard library and 3rd party modules written for standard blocking sockets

gevent is inspired by eventlet but features 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 is licensed under MIT license.

get gevent

Install Python 2.6, 2.7, 3.3 or 3.4 along with the greenlet extension. Or install PyPy 2.6 or above (but not PyPy3).

Download the latest release from Python Package Index or clone the repository.

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

Post feedback and issues on the bug tracker, mailing list, blog and twitter (@gevent).

installing from github

To install the latest development version:

pip install cython git+git://github.com/gevent/gevent.git#egg=gevent

running tests

There are a few different ways to run the tests. To simply run the tests on one version of Python during development, try this:

python setup.py build

cd greentest

PYTHONPATH=.. python testrunner.py –config ../known_failures.py

Before submitting a pull request, it’s a good idea to run the tests across all supported versions of Python, and to check the code quality using pep8 and pyflakes. This is what is done on Travis CI. Locally it can be done using tox:

pip install tox

tox

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.1b4.tar.gz (1.7 MB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

gevent-1.1b4-cp34-none-win_amd64.whl (358.0 kB view details)

Uploaded CPython 3.4Windows x86-64

gevent-1.1b4-cp34-none-win32.whl (330.6 kB view details)

Uploaded CPython 3.4Windows x86

gevent-1.1b4-cp34-cp34m-macosx_10_10_x86_64.whl (409.2 kB view details)

Uploaded CPython 3.4mmacOS 10.10+ x86-64

gevent-1.1b4-cp33-cp33m-macosx_10_10_x86_64.whl (409.1 kB view details)

Uploaded CPython 3.3mmacOS 10.10+ x86-64

gevent-1.1b4-cp27-none-win_amd64.whl (360.4 kB view details)

Uploaded CPython 2.7Windows x86-64

gevent-1.1b4-cp27-none-win32.whl (328.9 kB view details)

Uploaded CPython 2.7Windows x86

gevent-1.1b4-cp27-none-macosx_10_10_x86_64.whl (406.7 kB view details)

Uploaded CPython 2.7macOS 10.10+ x86-64

gevent-1.1b4-cp26-none-macosx_10_10_intel.whl (641.1 kB view details)

Uploaded CPython 2.6macOS 10.10+ Intel (x86-64, i386)

File details

Details for the file gevent-1.1b4.tar.gz.

File metadata

  • Download URL: gevent-1.1b4.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gevent-1.1b4.tar.gz
Algorithm Hash digest
SHA256 c1aa97306feb6c161328e0a3a9e3b1876a8f43f474f871c7b8f207617f113dc2
MD5 1faddf3de98201793268bf62f9afa103
BLAKE2b-256 61dc9b5e55433a259823e2aedfbc5e09c36f45a52de1c906be958ee712c4bb6c

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 4b431d04cc8e8a31b77a8fe0e420e4758cc465f16e5748c85b5da33da14905d0
MD5 f3e72f60b94dd1192d9435edef5521f8
BLAKE2b-256 d34f4e98eba8bb8c40ea8a1d15aa6483379f2ae4ea6dad97540a47b360d9b671

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp34-none-win32.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp34-none-win32.whl
Algorithm Hash digest
SHA256 7cdb8ee398f4dc98bc1590d3bcb296eec43664b65d823bbaf34a7143b972d9dd
MD5 eeb69436ac028f64eec6b8bd8c8d2d71
BLAKE2b-256 b1e2afbcaf21290953896a4c0b6f4e9ac404d7fa8cb43b08d7d70cda66da13e6

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp34-cp34m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp34-cp34m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 933670eea97c2c04cb4a0b5c258798da2fba2950e5abd9f84f580b5248b18241
MD5 1e74e4f01678022c8945b86e93e104e9
BLAKE2b-256 a44793f5de888462285228aac6712638147e09837e650ac21639519f7ebb895f

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp33-cp33m-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp33-cp33m-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 b074af0ff17973471d13c12e33c598ae758064acb0131e847cabb1a3dfc5c427
MD5 c84944b0a20bb440d3ea42ff53783c22
BLAKE2b-256 6769002f4cb3102c2e23a41e861ce72c02ec2fe057402a00dc2144ff4df0bd15

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 c5e13cccf65aba6243293390de141c26285a57bcfa5d12728f736b3294f5f324
MD5 ee800f59606697c73f49fd1dc4b4b2f2
BLAKE2b-256 0acd729f0a17b16eb55a6273455b65e4830215607c895359887709b9d37dd819

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp27-none-win32.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp27-none-win32.whl
Algorithm Hash digest
SHA256 1cdfc59e9ad836a5fb0104adabfe2882924a6fc66d8abee98a28a54446446fba
MD5 ad7bba77fc935e398d7f35005704d7e0
BLAKE2b-256 cb5c04eb21610fc168c04aa1d8bc914b1cd19aef9d29cc1069c4bbe9a912711b

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp27-none-macosx_10_10_x86_64.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp27-none-macosx_10_10_x86_64.whl
Algorithm Hash digest
SHA256 6ee190d40aaebe14fbd1fae7734d3715800c0f4485f447fc6f7146d5af8d5af7
MD5 d96b8aab32dd6579890ccc45d9176017
BLAKE2b-256 4929b7d8054c0e510aa86c96c1f2f4e52569fd0b22adb2f561c956aef156dfce

See more details on using hashes here.

File details

Details for the file gevent-1.1b4-cp26-none-macosx_10_10_intel.whl.

File metadata

File hashes

Hashes for gevent-1.1b4-cp26-none-macosx_10_10_intel.whl
Algorithm Hash digest
SHA256 3fbcceccf28ad1279622b3afaa4a4b0114d3c9d6e73bf8c865cd0e2763b2aca8
MD5 c523271bf564f5e2ba743de2aa84c273
BLAKE2b-256 8dffea76d738372d03fb1903943aaefd04b7b5942e9e1fe64c1123528c8afbcc

See more details on using hashes here.

Supported by

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