返回首页
最新
Python 一直缺乏一个包含所有功能的 HTTP 库,能够同时支持异步和同步客户端。虽然 Httpx(httpcore)提供了这样的功能,但不幸的是,它几乎没有得到维护,并且存在严重的性能问题(<a href="https://github.com/encode/httpx/issues/3215" rel="nofollow">https://github.com/encode/httpx/issues/3215</a>)。<p>我为 Python 构建了一个基于 Rust 的 pyreqwest HTTP 客户端,它建立在 reqwest 之上。它包含了 reqwest 提供的所有功能,并增加了一些额外的功能。同时还包括单元测试工具(模拟、ASGI 应用支持)。欢迎查看 <a href="https://github.com/MarkusSintonen/pyreqwest" rel="nofollow">https://github.com/MarkusSintonen/pyreqwest</a> :)
<a href="https://web.archive.org/web/20250912174820/https://rcyl.bike/en/the-bike/" rel="nofollow">https://web.archive.org/web/20250912174820/https://rcyl.bike...</a>