# Install httpx2 with Homebrew

HTTP client library for Python. Version 2.13.1 via Homebrew; verified 2026-10-11.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install httpx2
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:httpx2
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/httpx2>
- **Version:** 2.13.1
- **Source summary:** HTTP client library for Python
- **Homepage:** <https://httpx2.pydantic.dev>
- **Upstream docs:** <https://httpx2.pydantic.dev>
- **License:** BSD-3-Clause
- **Source archive:** <https://files.pythonhosted.org/packages/7f/f8/579a8b51e42e38ee32647df9f08aa25643ae788e275cc625b199829c4671/httpx2-2.12.0.tar.gz>
- **Last updated:** 2026-10-11T12:57:44Z
- **Generated:** 2026-10-12T03:48:17+00:00

## Executables

- httpx2 (cli)
- httpx2 (alias)

## Dependencies

- python@3.14

## Install behavior

- Post-install hook: not defined
- Bottle: available on all

## Freshness

- Page generated: 2026-10-12
- Package-manager version: 2.13.1
- Package-manager updated: 2026-10-11
- Local data: ok
- Upstream repository: https://httpx2.pydantic.dev
- info: Release/tag comparison is only available for GitHub repositories.

## From the blog

- [dnsglobe: Watching DNS Propagation from the Terminal](https://pkg.so/blog/2026-08-08/dnsglobe-global-dns-propagation-in-the-terminal/)
## Project history and usage

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

### Project history

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.

### Adoption history

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

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Related projects

- HTTPX
- HTTPCore2
- Requests
- AnyIO

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for httpx2. Package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **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


## Related links

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


## Sources

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