mrequests
Using multiprocessing and requests to send requests using threads to fasten sending large number of requests.
Usage
from mrequests import MultiRequests m = MultiRequests.PoolRequests(method='GET') urls = ["https://www.google.com","https://www.yahoo.com"] resp = m.send(urls) for r in resp: print(r.status_code)
Installation
pip3 install --index-url https://test.pypi.org/simple/ mrequests
Future Work
- Parameterized requests
- Authenticated Sessions
Metadata
Release files for mrequests 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| mrequests-0.0.5.tar.gz | 1.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mrequests-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.4 kB
Release files / mrequests-0.0.5.tar.gz
| Download URL | mrequests-0.0.5.tar.gz |
|---|---|
| Size | 1.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
da9889b09eab83033a5d5667acd52949fe0e04be6240f8d2ac7698c5439f2d68
|
|
BLAKE2b-256 checksum How to use checksums |
65e126fe9447a485405cb96e0433be2580e155239156b68cd02b1a63aef18b95
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.6.5
|
Release files / mrequests-0.0.5-py3-none-any.whl
| Download URL | mrequests-0.0.5-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f13f74d6c1fa92c45d11960285bfa66b7416eae0ac4f967518dbced7ab7ff89
|
|
BLAKE2b-256 checksum How to use checksums |
5365e5b9e0b39b94a3241262bee4f1e2d8e72321da91e72d6b33f7d588195a73
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.28.0 CPython/3.6.5
|