# 使用 Homebrew 安装 httpx2

查看 httpx2 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:httpx2
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install httpx2
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:httpx2
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/httpx2>
- **版本:** 2.13.1
- **来源摘要:** HTTP client library for Python
- **主页:** <https://httpx2.pydantic.dev>
- **上游文档:** <https://httpx2.pydantic.dev>
- **许可证:** BSD-3-Clause
- **源码归档:** <https://files.pythonhosted.org/packages/7f/f8/579a8b51e42e38ee32647df9f08aa25643ae788e275cc625b199829c4671/httpx2-2.12.0.tar.gz>
- **最后更新:** 2026-10-11T12:57:44Z
- **已生成:** 2026-10-12T03:48:17+00:00

## 可执行文件

- httpx2 (cli)
- httpx2 (别名)

## 依赖

- python@3.14

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-10-12
- 管理器版本: 2.13.1
- 管理器更新时间: 2026-10-11
- 本地数据: OK
- 上游仓库: https://httpx2.pydantic.dev
- 信息: Release/tag comparison is only available for GitHub repositories.
## 项目历史与用法

HTTPX2 is a Pydantic-maintained, next-generation HTTP client for Python with synchronous, asynchronous, command-line, HTTP/1.1, and HTTP/2 interfaces.

### 项目历史

HTTPX2 continues the work of HTTPX and its community. Pydantic adopted stewardship under a new package and import name after activity in the original HTTPX project became limited.

### 采用历史

Pydantic presents HTTPX2 as a maintained continuation for users of HTTPX, preserving its familiar interface while providing a forward path and timely maintenance.

### 使用方式

Install `httpx2` for the Python API, `httpx2[cli]` for the command-line client, or `httpx2[http2]` for optional HTTP/2 support. It is commonly used for application HTTP calls, async services, testing ASGI/WSGI applications, proxying, streaming, and transport customization.

### 为什么软件包爱好者会关心

HTTPX2 matters to Python package users because it carries forward the modern HTTPX design—synchronous and asynchronous APIs, HTTP/2, strict timeouts, type annotations, and direct ASGI/WSGI support—under active Pydantic stewardship.

### 时间线

- 2026: Pydantic stewardship established HTTPX2 as a maintained continuation of HTTPX.

### Related projects

- HTTPX
- HTTPCore2
- Requests
- AnyIO

### 来源

- <https://github.com/pydantic/httpx2>
- <https://httpx2.pydantic.dev/>


## 安全说明

没有找到 httpx2 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** httpx2
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable


## 相关链接

- [Language runtime packages](https://pkg.so/zh-hans/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Web development packages](https://pkg.so/zh-hans/web-dev-tools/) - Matched web development metadata.
- [python@3.14](https://pkg.so/zh-hans/brew/python-3-14/) - Runtime dependency declared by Homebrew.
- [httpx](https://pkg.so/zh-hans/brew/httpx/) - Package name indicates the same formula family.
- [http-prompt](https://pkg.so/zh-hans/brew/http-prompt/) - Both packages touch the same language runtime or ecosystem. Shared terms: client, http, python, python-3-14.
- [httpie](https://pkg.so/zh-hans/brew/httpie/) - Both packages touch the same language runtime or ecosystem. Shared terms: client, http, python, python-3-14.
- [posting](https://pkg.so/zh-hans/brew/posting/) - Both packages touch the same language runtime or ecosystem. Shared terms: client, http, python, python-3-14.

## Combined YAML source

View the package source record on GitHub. [combined/httpx2.yml](https://github.com/mxcl/pkgdb/blob/main/combined/httpx2.yml)


## 来源

- pkg.so package database
- package-page enrichment
- curated package history
- package version freshness
- package relationship graph
- cross-ecosystem install command graph
