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)
| File | Size | Uploaded | |
|---|---|---|---|
| grequests-0.7.0.tar.gz | 6.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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
|