Installation¶
asyncly requires Python 3.10+ and depends only on aiohttp.
From PyPI¶
From GitHub¶
Extras¶
Install optional features by naming them in brackets. For example, to parse responses into Pydantic models:
| Extra | Install | Enables |
|---|---|---|
msgspec |
pip install "asyncly[msgspec]" |
Parse responses into msgspec structs |
pydantic |
pip install "asyncly[pydantic]" |
Parse responses into Pydantic models |
orjson |
pip install "asyncly[orjson]" |
Fast JSON parsing via orjson |
prometheus |
pip install "asyncly[prometheus]" |
Prometheus client metrics |
opentelemetry |
pip install "asyncly[opentelemetry]" |
OpenTelemetry metrics |
You can combine extras:
Next steps¶
- Quickstart — build and test a client in a few minutes.
- Usage guide — dive into each subsystem.