skillfed

pyqwest

A modern, high-performance HTTP client for Python and Rust.

pyqwest v0.9.0 2.7M downloads/30d#2,945 on PyPI36
Permissive license Active released

What it is and what it does

pyqwest is a Python HTTP client that delegates core HTTP functionality to the Rust reqwest library (which uses hyper), while exposing a fully-typed, Pythonic API. It supports both async (Client) and sync (SyncClient) usage patterns, and covers the full HTTP feature set including HTTP/2, HTTP/3, bidirectional streaming, and trailers. The package is built as a Rust extension, giving it the performance and stability characteristics of the Rust HTTP stack without requiring developers to write Rust code.

The package targets modern Python versions (3.10–3.14) and publishes prebuilt wheels for macOS, Linux, and Windows. It has a single runtime dependency on opentelemetry-api. The project is actively maintained and has no known security vulnerabilities. It is positioned as an alternative to pure-Python HTTP clients like httpx and aiohttp, with preliminary benchmarks suggesting competitive or superior performance in async scenarios.

Use it for:

  • Building async web scrapers or API clients that need HTTP/2 or HTTP/3 support without managing protocol complexity.
  • Migrating from httpx to a faster HTTP client while keeping the same application logic via the HTTPX adapter.
  • Applications requiring bidirectional streaming or HTTP trailers for advanced server communication patterns.
  • Projects where HTTP client performance is a measurable bottleneck and pure-Python implementations are insufficient.
  • Sync applications needing modern HTTP features with the performance of a compiled HTTP stack.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

A Python HTTP client wrapping the Rust reqwest library, providing async and sync interfaces with support for HTTP/2, HTTP/3, bidirectional streaming, and trailers.

Yes, with conditions. Install if you need modern HTTP features (HTTP/2, HTTP/3, streaming) and are willing to accept medium install friction (Rust build requirement on some platforms). The package is actively maintained, has no known vulnerabilities, and offers permissive licensing. Not recommended if you require a pure-Python HTTP client or are restricted to Python versions below 3.10.

Install

pyqwest on PyPI

pip

pip install pyqwest

uv

uv add pyqwest

poetry

poetry add pyqwest

Installing pyqwest

Before you install

Medium install friction due to compiled Rust components, but wheels are published for Python 3.10–3.14 across macOS, Linux (x86_64 and aarch64), and Windows. The package is actively maintained with a recent release (4 days old) and no known vulnerabilities.

License in practice

Licensed under MIT (permissive), allowing free use, modification, and distribution with minimal restrictions.

Quickstart

import pyqwest

client = pyqwest.Client()
response = await client.get("https://example.com")
print(len(response.content))

Requires Python 3.10 or later. For platforms without prebuilt wheels, Rust must be installed to build from source.

Verify before relying

  • Whether opentelemetry-api is a required runtime dependency or an optional instrumentation feature.
  • Full API surface and whether all HTTP/3 features are production-ready or still experimental.
  • Stability guarantees given the Beta development status (Development Status :: 4).

Package facts

License not declared (permissive)
Python support supports the current Python release (>=3.10)
Install friction medium — platform-specific wheel
Runtime dependencies 1 — opentelemetry-api
Maintenance actively maintained — 4 days since the last release
Last repo commit
First released
Downloads 2,680,877/month — #2,945 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: pyqwest-0.9.0-cp310-abi3-macosx_10_12_x86_64.whl; pyqwest-0.9.0-cp310-abi3-macosx_11_0_arm64.whl; pyqwest-0.9.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; pyqwest-0.9.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pyqwest-0.9.0-cp310-abi3-musllinux_1_2_aarch64.whl; pyqwest-0.9.0-cp310-abi3-musllinux_1_2_x86_64.whl; pyqwest-0.9.0-cp310-abi3-win_amd64.whl; pyqwest-0.9.0-cp312-cp312-macosx_10_12_x86_64.whl; pyqwest-0.9.0-cp312-cp312-macosx_11_0_arm64.whl; pyqwest-0.9.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; pyqwest-0.9.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pyqwest-0.9.0-cp312-cp312-musllinux_1_2_aarch64.whl; pyqwest-0.9.0-cp312-cp312-musllinux_1_2_x86_64.whl; pyqwest-0.9.0-cp312-cp312-win_amd64.whl; pyqwest-0.9.0-cp313-cp313-macosx_10_12_x86_64.whl; pyqwest-0.9.0-cp313-cp313-macosx_11_0_arm64.whl; pyqwest-0.9.0-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; pyqwest-0.9.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; pyqwest-0.9.0-cp313-cp313-musllinux_1_2_aarch64.whl; pyqwest-0.9.0-cp313-cp313-musllinux_1_2_x86_64.whl

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonProgramming Language :: RustTopic :: Internet :: WWW/HTTP

Tags

http client python asyncrust-backed http libraryhttp/2 http/3 clientbidirectional streaming httphigh-performance http requestsreqwest python bindingmodern http client
rust-backedasync-firsthttp-protocol

More WWW/HTTP packages