# Introduction
## Install package
```shell
pip install request-url-2023
```
## Example Usage:
```python
from request_url_2023 import send_requests
send_requests.run(url="https://www.baidu.com/")
```
## Params
```python
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
)
```
Raw data
{
"_id": null,
"home_page": "https://www.linkedin.com/in/chandlersong/",
"name": "request-url-2023",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "requests url",
"author": "chandler song",
"author_email": "275737875@qq.com",
"download_url": "https://files.pythonhosted.org/packages/61/96/2528e931d224b8bb33b0e42f74dd41df1d301cc206eb94d83701246a3cef/request_url_2023-1.0.3.tar.gz",
"platform": "all",
"description": "\r\n# Introduction\r\n## Install package\r\n```shell\r\npip install request-url-2023\r\n```\r\n## Example Usage:\r\n```python\r\nfrom request_url_2023 import send_requests\r\n\r\nsend_requests.run(url=\"https://www.baidu.com/\")\r\n```\r\n\r\n## Params\r\n\r\n```python\r\nfrom request_url_2023 import send_requests\r\n\r\n# \u603b\u7684\u8bf7\u6c42\u6570\r\n# TOTAL_COUNT = 10000\r\n# \u7ebf\u7a0b\u6c60\u6570\u76ee\r\n# THREAD_NUM = 20\r\n# \u6bcf\u4e2a\u534f\u7a0b\u540c\u65f6\u53d1\u9001\u591a\u5c11\u4e2a\u8bf7\u6c42\r\n# COROUTINE_REQUEST_COUNT = 50\r\n\r\nsend_requests.run(\r\n url=\"https://www.baidu.com/\",\r\n TOTAL_COUNT = 1000,\r\n THREAD_NUM = 20,\r\n COROUTINE_REQUEST_COUNT = 50\r\n)\r\n```\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "send bulk requests to a url",
"version": "1.0.3",
"project_urls": {
"Homepage": "https://www.linkedin.com/in/chandlersong/"
},
"split_keywords": [
"requests",
"url"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "6a167d1b0899b59dd24f1f5c4acd5995129a96ce5c5c6f869321368aaa940d9b",
"md5": "aff3238c6c00937c0a781ccadfc86267",
"sha256": "64a34d12eda07e5af31eb1563d432a0500738b25767b14a2d3797d1f7b1912e2"
},
"downloads": -1,
"filename": "request_url_2023-1.0.3-py2.py3-none-any.whl",
"has_sig": false,
"md5_digest": "aff3238c6c00937c0a781ccadfc86267",
"packagetype": "bdist_wheel",
"python_version": "py2.py3",
"requires_python": null,
"size": 3728,
"upload_time": "2023-07-16T02:48:09",
"upload_time_iso_8601": "2023-07-16T02:48:09.462610Z",
"url": "https://files.pythonhosted.org/packages/6a/16/7d1b0899b59dd24f1f5c4acd5995129a96ce5c5c6f869321368aaa940d9b/request_url_2023-1.0.3-py2.py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "61962528e931d224b8bb33b0e42f74dd41df1d301cc206eb94d83701246a3cef",
"md5": "518a1d65e5b929368bbb7e84119c9429",
"sha256": "f8fc03d758c442eaac9fdebd0fc830f517bb0f081f5d9f9849a7e50bb6b3ecfe"
},
"downloads": -1,
"filename": "request_url_2023-1.0.3.tar.gz",
"has_sig": false,
"md5_digest": "518a1d65e5b929368bbb7e84119c9429",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2951,
"upload_time": "2023-07-16T02:48:11",
"upload_time_iso_8601": "2023-07-16T02:48:11.454605Z",
"url": "https://files.pythonhosted.org/packages/61/96/2528e931d224b8bb33b0e42f74dd41df1d301cc206eb94d83701246a3cef/request_url_2023-1.0.3.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-16 02:48:11",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "request-url-2023"
}