Skip to content

第三方软件包

¥Third Party Packages

随着 HTTPX 的使用率不断增长,开发者社区也在不断壮大,他们构建与 HTTPX 集成或依赖于 HTTPX 的工具和库。以下是其中一些。

¥As HTTPX usage grows, there is an expanding community of developers building tools and libraries that integrate with HTTPX, or depend on HTTPX. Here are some of them.

插件

¥Plugins

希舍尔

¥Hishel

GitHub-文档

¥GitHub - Documentation

HTTPX 和 HTTP Core 的优雅 HTTP 缓存实现。

¥An elegant HTTP Cache implementation for HTTPX and HTTP Core.

HTTPX-Auth

¥HTTPX-Auth

GitHub-文档

¥GitHub - Documentation

提供与 HTTPX 一起使用的身份验证类认证参数

¥Provides authentication classes to be used with HTTPX's authentication parameter.

httpx缓存

¥httpx-caching

Github

¥Github

此软件包为 HTTPX 添加了缓存功能

¥This package adds caching functionality to HTTPX

httpx-socks

¥httpx-socks

GitHub

¥GitHub

httpx 的代理(HTTP、SOCKS)传输。

¥Proxy (HTTP, SOCKS) transports for httpx.

httpx-sse

¥httpx-sse

GitHub

¥GitHub

允许通过 HTTPX 使用服务器发送事件 (SSE)。

¥Allows consuming Server-Sent Events (SSE) with HTTPX.

httpx-重试

¥httpx-retries

GitHub-文档

¥GitHub - Documentation

HTTPX 的重试层。

¥A retry layer for HTTPX.

httpx-ws

¥httpx-ws

GitHub-文档

¥GitHub - Documentation

WebSocket 支持 HTTPX。

¥WebSocket support for HTTPX.

pytest-HTTPX

¥pytest-HTTPX

GitHub-文档

¥GitHub - Documentation

提供pytest在测试用例中模拟 HTTPX 的装置。

¥Provides a pytest fixture to mock HTTPX within test cases.

RESPX

¥RESPX

GitHub-文档

¥GitHub - Documentation

用于模拟 HTTPX 的实用程序。

¥A utility for mocking out HTTPX.

rpc.py

¥rpc.py

Github-文档

¥Github - Documentation

基于 ASGI/WSGI 的快速且强大的 RPC 框架。使用 HTTPX 作为 RPC 服务的客户端。

¥A fast and powerful RPC framework based on ASGI/WSGI. Use HTTPX as the client of the RPC service.

支持 HTTPX 的库

¥Libraries with HTTPX support

Authlib

¥Authlib

GitHub-文档

¥GitHub - Documentation

用于构建 OAuth 和 OpenID Connect 客户端和服务器的 Python 库。包含OAuth HTTPX 客户端

¥A python library for building OAuth and OpenID Connect clients and servers. Includes an OAuth HTTPX client.

Gidgethub

¥Gidgethub

GitHub-文档

¥GitHub - Documentation

异步 GitHub API 库。包括HTTPX 支持

¥An asynchronous GitHub API library. Includes HTTPX support.

httpdbg

¥httpdbg

GitHub-文档

¥GitHub - Documentation

一个帮助 Python 开发人员轻松调试 Python 程序中的 HTTP(S) 客户端请求的工具。

¥A tool for python developers to easily debug the HTTP(S) client requests in a python program.

录像机

¥VCR.py

GitHub-文档

¥GitHub - Documentation

记录并重复请求。

¥Record and repeat requests.

要点

¥Gists

urllib3-传输

¥urllib3-transport

GitHub

¥GitHub

这个公共要点提供了一个示例实现定制运输在经过实战检验的基础上实施urllib3图书馆。

¥This public gist provides an example implementation for a custom transport implementation on top of the battle-tested urllib3 library.