Skip to main content

No project description provided

Project description

mrequests

Using multiprocessing and requests to send requests using threads to fasten sending large number of requests.

Usage

from mrequests import PoolRequests
m = 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

pip install mrequests

Future Work

  • Parameterized requests
  • Authenticated Sessions

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mrequests-0.1.2.tar.gz (1.7 kB view hashes)

Uploaded source

Built Distribution

mrequests-0.1.2-py3-none-any.whl (3.9 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page