Repository Details
Shared by
HelloGitHub Rating
0 ratings
使用简单方便,轻松实现异步请求的 HTTP 客户端(Python 3.8+)
Past 7 days Received 34 stars ✨
Use arrow keys to explore dates, Home and End for the first and last date, Escape to dismiss.| Date | Star | Daily change |
|---|---|---|
| 周日 | 15,795 | — |
| 周一 | 15,798 | +3 |
| 周二 | 15,799 | +1 |
| 周三 | 15,801 | +2 |
| 周四 | 15,811 | +10 |
| 周五 | 15,815 | +4 |
| 周六 | 15,829 | +14 |
15.8k
Stars
No
Chinese
Python
Language
Yes
Active
248
Contributors
150
Issues
Yes
Organization
None
Latest
2k
Forks
BSD-3-Clause
License
使用简单方便,轻松实现异步请求的 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