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 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

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.0.5.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mrequests-0.0.5-py3-none-any.whl (2.7 kB view details)

Uploaded Python 3

File details

Details for the file mrequests-0.0.5.tar.gz.

File metadata

  • Download URL: mrequests-0.0.5.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mrequests-0.0.5.tar.gz
Algorithm Hash digest
SHA256 da9889b09eab83033a5d5667acd52949fe0e04be6240f8d2ac7698c5439f2d68
MD5 c9919a327959b092b1e291ed35cfde5f
BLAKE2b-256 65e126fe9447a485405cb96e0433be2580e155239156b68cd02b1a63aef18b95

See more details on using hashes here.

File details

Details for the file mrequests-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: mrequests-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for mrequests-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4f13f74d6c1fa92c45d11960285bfa66b7416eae0ac4f967518dbced7ab7ff89
MD5 c90ce5c9d9ce11562d51a39971875df0
BLAKE2b-256 5365e5b9e0b39b94a3241262bee4f1e2d8e72321da91e72d6b33f7d588195a73

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page