Installation¶
Requirements¶
- Python 3.14 or higher
Install from PyPI¶
Optional Dependencies¶
You may choose to install haiway including optional support for OpenTelemetry, httpx, Postgres, RabbitMQ, Starlette, and FastAPI.
OpenTelemetry Support¶
For distributed tracing and observability:
For the httpx implementation of the http client (installs httpx2):
For Postgres (asyncpg) support:
For RabbitMQ (pika) support:
For the Starlette integration - middleware and application helpers plugging the context into request handling:
For the same integration with a FastAPI application factory (installs fastapi):
Now you're ready to continue with the Quick Start guide!