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
Release history Release notifications | RSS feed
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 hashes)
Built Distribution
Close
Hashes for request_url_2023-1.0.3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 64a34d12eda07e5af31eb1563d432a0500738b25767b14a2d3797d1f7b1912e2 |
|
MD5 | aff3238c6c00937c0a781ccadfc86267 |
|
BLAKE2b-256 | 6a167d1b0899b59dd24f1f5c4acd5995129a96ce5c5c6f869321368aaa940d9b |