Package Info

python-grequests


Requests + Gevent


Development/Languages/Python

GRequests allows you to use Requests with Gevent to make asyncronous HTTP Requests easily.

Usage

Usage is simple::

import grequests

urls = [
    'http://www.heroku.com',
    'http://tablib.org',
    'http://httpbin.org',
    'http://python-requests.org',
    'http://kennethreitz.com'
]

Create a set of unsent Requests::

>>> rs = (grequests.get(u) for u in urls)

Send them all at the same time::

>>> grequests.map(rs)
[<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]

License: BSD-2-Clause
URL: https://github.com/kennethreitz/grequests

Categories

Releases

Package Version Update ID Released Package Hub Version Platforms Subpackages
0.2.0-bp150.2.4 info GA Release 2018-07-30 15
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python-grequests
0.2.0-bp151.2.10 info GA Release 2019-05-18 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python-grequests
0.2.0-bp151.3.1 info GA Release 2019-07-17 15 SP1
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python-grequests
0.2.0-bp152.3.14 info GA Release 2020-04-17 15 SP2
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python-grequests
0.2.0-bp153.1.13 info GA Release 2021-03-06 15 SP3
  • AArch64
  • ppc64le
  • s390x
  • x86-64
  • python-grequests