Skip to main content

GRequests allows you to use Requests with Gevent to make asynchronous 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]>]

Release files for grequests 0.7.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for grequests 0.7.0
File Size Uploaded
grequests-0.7.0.tar.gz 6.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for grequests 0.7.0
File Interpreter ABI Platform
grequests-0.7.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 12.2 kB

Release files / grequests-0.7.0.tar.gz

Download URL grequests-0.7.0.tar.gz
Size 6.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5c33f14268df5b8fa1107d8537815be6febbad6ec560524d6a404b7778cf6ba6
BLAKE2b-256 checksum
How to use checksums
8a6a95616ce27c8b7c58f7dd0e5eba61ac873ecaae082d73e515904803fe73e7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release files / grequests-0.7.0-py2.py3-none-any.whl

Download URL grequests-0.7.0-py2.py3-none-any.whl
Size 5.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
4733edfcece027de25ae8eff86a87f563d7e829fdacbf3ce8b3aeea507694287
BLAKE2b-256 checksum
How to use checksums
1c6abb015faedfb65ed728d7ccf15888e82ab46f980430d3c506fb3824388d1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.16

Release history Release notifications | RSS feed

This release

0.7.0 This release

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page