<h1 align="center">
![urllib3](https://github.com/urllib3/urllib3/raw/main/docs/_static/banner_github.svg)
</h1>
<p align="center">
<a href="https://pypi.org/project/urllib3"><img alt="PyPI Version" src="https://img.shields.io/pypi/v/urllib3.svg?maxAge=86400" /></a>
<a href="https://pypi.org/project/urllib3"><img alt="Python Versions" src="https://img.shields.io/pypi/pyversions/urllib3.svg?maxAge=86400" /></a>
<a href="https://discord.gg/urllib3"><img alt="Join our Discord" src="https://img.shields.io/discord/756342717725933608?color=%237289da&label=discord" /></a>
<a href="https://github.com/urllib3/urllib3/actions?query=workflow%3ACI"><img alt="Coverage Status" src="https://img.shields.io/badge/coverage-100%25-success" /></a>
<a href="https://github.com/urllib3/urllib3/actions?query=workflow%3ACI"><img alt="Build Status on GitHub" src="https://github.com/urllib3/urllib3/workflows/CI/badge.svg" /></a>
<a href="https://urllib3.readthedocs.io"><img alt="Documentation Status" src="https://readthedocs.org/projects/urllib3/badge/?version=latest" /></a><br>
<a href="https://deps.dev/pypi/urllib3"><img alt="OpenSSF Scorecard" src="https://api.securityscorecards.dev/projects/github.com/urllib3/urllib3/badge" /></a>
<a href="https://slsa.dev"><img alt="SLSA 3" src="https://slsa.dev/images/gh-badge-level3.svg" /></a>
<a href="https://bestpractices.coreinfrastructure.org/projects/6227"><img alt="CII Best Practices" src="https://bestpractices.coreinfrastructure.org/projects/6227/badge" /></a>
</p>
urllib3 is a powerful, *user-friendly* HTTP client for Python. Much of the
Python ecosystem already uses urllib3 and you should too.
urllib3 brings many critical features that are missing from the Python
standard libraries:
- Thread safety.
- Connection pooling.
- Client-side SSL/TLS verification.
- File uploads with multipart encoding.
- Helpers for retrying requests and dealing with HTTP redirects.
- Support for gzip, deflate, brotli, and zstd encoding.
- Proxy support for HTTP and SOCKS.
- 100% test coverage.
urllib3 is powerful and easy to use:
```python3
>>> import urllib3
>>> http = urllib3.PoolManager()
>>> resp = http.request("GET", "http://httpbin.org/robots.txt")
>>> resp.status
200
>>> resp.data
b"User-agent: *\nDisallow: /deny\n"
```
## Installing
urllib3 can be installed with [pip](https://pip.pypa.io):
```bash
$ python -m pip install urllib3
```
Alternatively, you can grab the latest source code from [GitHub](https://github.com/urllib3/urllib3):
```bash
$ git clone https://github.com/urllib3/urllib3.git
$ cd urllib3
$ pip install .
```
## Documentation
urllib3 has usage and reference documentation at [urllib3.readthedocs.io](https://urllib3.readthedocs.io).
## Community
urllib3 has a [community Discord channel](https://discord.gg/urllib3) for asking questions and
collaborating with other contributors. Drop by and say hello ð
## Contributing
urllib3 happily accepts contributions. Please see our
[contributing documentation](https://urllib3.readthedocs.io/en/latest/contributing.html)
for some tips on getting started.
## Security Disclosures
To report a security vulnerability, please use the
[Tidelift security contact](https://tidelift.com/security).
Tidelift will coordinate the fix and disclosure with maintainers.
## Maintainers
- [@sethmlarson](https://github.com/sethmlarson) (Seth M. Larson)
- [@pquentin](https://github.com/pquentin) (Quentin Pradet)
- [@theacodes](https://github.com/theacodes) (Thea Flowers)
- [@haikuginger](https://github.com/haikuginger) (Jess Shapiro)
- [@lukasa](https://github.com/lukasa) (Cory Benfield)
- [@sigmavirus24](https://github.com/sigmavirus24) (Ian Stapleton Cordasco)
- [@shazow](https://github.com/shazow) (Andrey Petrov)
ð
## Sponsorship
If your company benefits from this library, please consider [sponsoring its
development](https://urllib3.readthedocs.io/en/latest/sponsors.html).
## For Enterprise
Professional support for urllib3 is available as part of the [Tidelift
Subscription][1]. Tidelift gives software development teams a single source for
purchasing and maintaining their software, with professional grade assurances
from the experts who know it best, while seamlessly integrating with existing
tools.
[1]: https://tidelift.com/subscription/pkg/pypi-urllib3?utm_source=pypi-urllib3&utm_medium=referral&utm_campaign=readme
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
urllib3-1.26.13.zip 安装包,免费下载 Python 的 urllib3 库是一个用于处理 HTTP 请求和响应的库,它建立在 Python 标准库的 urllib 模块之上,提供了更高级别、更健壮的 API。与标准库中的 urllib 和 urllib2 模块相比,urllib3 提供了更加友好和方便的接口,支持连接池、重试、自动重定向等功能,使得 HTTP 客户端的编写变得更加简单和可靠。 urllib3 支持连接池管理,可以在多个请求之间复用连接,减少连接建立的开销,提高性能和效率。 urllib3 支持 SSL/TLS 加密连接,保障数据传输的安全性,可以验证服务器的证书,并支持自定义证书和密钥。 urllib3 支持使用代理服务器进行 HTTP 请求,可以轻松地配置和使用代理,实现更灵活的网络访问。 urllib3 支持自动重试功能,可以在请求失败时自动重试,减少网络异常带来的影响,提高程序的健壮性。 urllib3 提供了方便的接口来处理文件上传和下载,支持大文件的分块传输,提高文件传输的效率。 如果免费下载不了,关注我,评论区联系我。
资源推荐
资源详情
资源评论
收起资源包目录
urllib3-1.26.13.zip 安装包,免费下载 (155个子文件)
make.bat 4KB
setup.cfg 83B
CODEOWNERS 436B
.coveragerc 512B
server.crt 1KB
.gitignore 85B
.gitignore 12B
cacert.key 2KB
server.key 2KB
Makefile 4KB
CODE_OF_CONDUCT.md 5KB
connection-lifecycle.md 5KB
README.md 4KB
release.md 1KB
public-and-private-apis.md 660B
02_bug_report.md 575B
01_feature_request.md 554B
PULL_REQUEST_TEMPLATE.md 281B
SECURITY.md 201B
0001-Mark-100-Continue-tests-as-failing.patch 3KB
0004-requests-chunked-requests.patch 1KB
0002-Stop-relying-on-removed-DEFAULT_CIPHERS.patch 1KB
0003-requests-removed-warnings.patch 938B
cacert.pem 1KB
duplicate_san.pem 1KB
demo-button.png 8KB
learn-more-button.png 6KB
logo.png 2KB
favicon.png 714B
test_socketlevel.py 78KB
test_connectionpool.py 56KB
test_response.py 43KB
connectionpool.py 42KB
test_util.py 42KB
test_https.py 41KB
response.py 39KB
securetransport.py 33KB
test_proxy_poolmanager.py 33KB
connection.py 33KB
test_socks.py 25KB
test_connectionpool.py 22KB
poolmanager.py 22KB
test_poolmanager.py 22KB
test_ssltransport.py 20KB
pyopenssl.py 19KB
ssl_.py 18KB
retry.py 18KB
test_poolmanager.py 17KB
low_level.py 16KB
_collections.py 15KB
test_retry.py 15KB
url.py 15KB
bindings.py 14KB
handlers.py 13KB
test_collections.py 13KB
testcase.py 11KB
fields.py 11KB
conftest.py 11KB
test_chunked_transfer.py 10KB
timeout.py 10KB
__init__.py 10KB
test_connection.py 9KB
exceptions.py 9KB
ssltransport.py 9KB
server.py 9KB
request.py 8KB
_request_methods.py 8KB
socks.py 8KB
test_ssl.py 7KB
port_helpers.py 6KB
test_wait.py 6KB
ssl_match_hostname.py 6KB
noxfile.py 6KB
_base_connection.py 6KB
proxy.py 5KB
__init__.py 5KB
connection.py 4KB
test_fields.py 4KB
wait.py 4KB
test_connection.py 4KB
conf.py 4KB
test_filepost.py 4KB
test_proxymanager.py 4KB
response.py 3KB
test_pyopenssl.py 3KB
filepost.py 2KB
test_exceptions.py 2KB
test_pyopenssl_dependencies.py 2KB
test_securetransport.py 2KB
tz_stub.py 1KB
https_proxy.py 1KB
proxy.py 1KB
util.py 1KB
__init__.py 1KB
test_no_ssl.py 1KB
test_no_ssl.py 978B
test_queue_monkeypatch.py 761B
test_compatibility.py 692B
setup.py 652B
_version.py 100B
共 155 条
- 1
- 2
资源评论
段子手-168
- 粉丝: 4463
- 资源: 2745
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功