loongson/pypi/: gevent-1.5.0 metadata and description

Homepage Simple index Newer version available

Coroutine-based network library

author Denis Bilenko
author_email denis.bilenko@gmail.com
classifiers
  • License :: OSI Approved :: MIT License
  • Programming Language :: Python :: 2.7
  • Programming Language :: Python :: 3.4
  • Programming Language :: Python :: 3.5
  • Programming Language :: Python :: 3.6
  • Programming Language :: Python :: 3.7
  • Programming Language :: Python :: Implementation :: CPython
  • Programming Language :: Python :: Implementation :: PyPy
  • Operating System :: MacOS :: MacOS X
  • Operating System :: POSIX
  • Operating System :: Microsoft :: Windows
  • Topic :: Internet
  • Topic :: Software Development :: Libraries :: Python Modules
  • Intended Audience :: Developers
  • Development Status :: 4 - Beta
description_content_type text/x-rst
keywords greenlet coroutine cooperative multitasking light threads monkey
license MIT
maintainer Jason Madden
maintainer_email jason@nextthought.com
platform
  • UNKNOWN
project_urls
  • Bug Tracker, https://github.com/gevent/gevent/issues
  • Source Code, https://github.com/gevent/gevent/
  • Documentation, http://www.gevent.org
provides_extras test
requires_dist
  • greenlet (>=0.4.14) ; platform_python_implementation == "CPython"
  • cffi (>=1.12.2) ; platform_python_implementation == "CPython" and sys_platform == "win32"
  • dnspython (>=1.16.0) ; extra == 'dnspython'
  • idna ; extra == 'dnspython'
  • repoze.sphinx.autointerface ; extra == 'docs'
  • sphinxcontrib-programoutput ; extra == 'docs'
  • zope.event ; extra == 'events'
  • zope.interface ; extra == 'events'
  • psutil (>=5.6.1) ; (platform_python_implementation == "CPython" or python_version != "2.7") and extra == 'monitor'
  • psutil (==5.6.3) ; (platform_python_implementation == "PyPy" and python_version == "2.7" and sys_platform != "win32") and extra == 'monitor'
  • dnspython (>=1.16.0) ; extra == 'recommended'
  • idna ; extra == 'recommended'
  • zope.event ; extra == 'recommended'
  • zope.interface ; extra == 'recommended'
  • cffi (>=1.12.2) ; (platform_python_implementation == "CPython") and extra == 'recommended'
  • psutil (>=5.6.1) ; (platform_python_implementation == "CPython" or python_version != "2.7") and extra == 'recommended'
  • psutil (==5.6.3) ; (platform_python_implementation == "PyPy" and python_version == "2.7" and sys_platform != "win32") and extra == 'recommended'
  • dnspython (>=1.16.0) ; extra == 'test'
  • idna ; extra == 'test'
  • zope.event ; extra == 'test'
  • zope.interface ; extra == 'test'
  • requests ; extra == 'test'
  • objgraph ; extra == 'test'
  • cffi (>=1.12.2) ; (platform_python_implementation == "CPython") and extra == 'test'
  • psutil (>=5.6.1) ; (platform_python_implementation == "CPython" or python_version != "2.7") and extra == 'test'
  • psutil (==5.6.3) ; (platform_python_implementation == "PyPy" and python_version == "2.7" and sys_platform != "win32") and extra == 'test'
  • futures ; (python_version == "2.7") and extra == 'test'
  • mock ; (python_version == "2.7") and extra == 'test'
  • coverage (<5.0) ; (sys_platform != "win32") and extra == 'test'
  • coveralls (>=1.7.0) ; (sys_platform != "win32") and extra == 'test'
requires_python >=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*

Because this project isn't in the mirror_whitelist, no releases from root/pypi are included.

File Tox results History
gevent-1.5.0-cp36-cp36m-linux_loongarch64.whl
Size
5 MB
Type
Python Wheel
Python
3.6
gevent-1.5.0-cp38-cp38-linux_loongarch64.whl
Size
5 MB
Type
Python Wheel
Python
3.8
gevent-1.5.0.tar.gz
Size
5 MB
Type
Source

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, 3.7 and 3.8. 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.)

Note

On Windows using the deprecated libev backend, gevent is limited to a maximum of 1024 open sockets due to limitations in libev. This limitation should not exist with the default libuv backend.

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

Note

This section is about installing released versions of gevent as distributed on the Python Package Index. For building gevent from source, including customizing the build and embedded libraries, see Installing From Source.

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.

Tip

You need Pip 8.0 or later, or buildout 2.10.0 to install the binary wheels on Windows or macOS. On Linux, you’ll need pip 19 to install the manylinux2010 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.