Repository Details
Shared by


HelloGitHub Rating
0 ratings
Free•BSD-3-Clause
Claim
Discuss
Collect
Share
14.5k
Stars
No
Chinese
Python
Language
Yes
Active
232
Contributors
107
Issues
Yes
Organization
0.28.1
Latest
948
Forks
BSD-3-Clause
License
More
使用简单方便,轻松实现异步请求的 HTTP 客户端(Python 3.8+)。示例代码:
```python
>>> import httpx
# 同步
>>> r = httpx.get('https://www.example.org/')
>>> r
<Response [200 OK]>
>>> r.status_code
# 异步
>>> async with httpx.AsyncClient() as client:
>>> r = await client.get('https://www.example.org/')
>>> r
<Response [200 OK]>
```
Included in:
Vol.48
Comments
Rating:
No comments yet