Skip to main content

send bulk requests to a url

Project description

Introduction

Install package

pip install request-url-2023

Example Usage:

from request_url_2023 import send_requests

send_requests.run(url="https://www.baidu.com/")

Params

from request_url_2023 import send_requests

# 总的请求数
# TOTAL_COUNT = 10000
# 线程池数目
# THREAD_NUM = 20
# 每个协程同时发送多少个请求
# COROUTINE_REQUEST_COUNT = 50

send_requests.run(
    url="https://www.baidu.com/",
    TOTAL_COUNT = 1000,
    THREAD_NUM = 20,
    COROUTINE_REQUEST_COUNT = 50
)

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

request_url_2023-1.0.3.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

request_url_2023-1.0.3-py2.py3-none-any.whl (3.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file request_url_2023-1.0.3.tar.gz.

File metadata

  • Download URL: request_url_2023-1.0.3.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.8

File hashes

Hashes for request_url_2023-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f8fc03d758c442eaac9fdebd0fc830f517bb0f081f5d9f9849a7e50bb6b3ecfe
MD5 518a1d65e5b929368bbb7e84119c9429
BLAKE2b-256 61962528e931d224b8bb33b0e42f74dd41df1d301cc206eb94d83701246a3cef

See more details on using hashes here.

File details

Details for the file request_url_2023-1.0.3-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for request_url_2023-1.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 64a34d12eda07e5af31eb1563d432a0500738b25767b14a2d3797d1f7b1912e2
MD5 aff3238c6c00937c0a781ccadfc86267
BLAKE2b-256 6a167d1b0899b59dd24f1f5c4acd5995129a96ce5c5c6f869321368aaa940d9b

See more details on using hashes here.

Supported by

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