Metadata-Version: 2.1
Name: httpx-aiohttptransport
Version: 0.1.0
Summary: Use `aiohttp` with `httpx` Interface
License: MIT
Author: Zeyan Li
Author-email: li_zeyan@icloud.com
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: aiohttp (>=3.11.11,<4.0.0)
Requires-Dist: httpx (>=0.28.1,<0.29.0)
Description-Content-Type: text/markdown

# Use `aiohttp` with `httpx` Interface

`httpx` has performance issue, especially when working with high concurrency, while `aiohttp` does not.

However, your production code and tests may already heavily rely on `httpx`, making it difficult to migrate to
`aiohttp`.

This repo provides a workaround: take advantage of `httpx`'s custom transport capability to use `aiohttp` for the actual
requests

This package supports:

- transport limits (max connection)
- auth
- proxy
- `respx`

Known limitations:

- http2. `aiohttp` does not support http2.

