About this project

aiohttp is an asynchronous HTTP client and server framework built for asyncio and Python. It enables developers to write scalable network applications using async/await syntax. The library supports both client-side HTTP requests and server-side HTTP handling, including WebSocket connections without callback hell. It provides a web server with middleware support and pluggable routing for building APIs or web applications. Example code demonstrates simple GET requests and server endpoints with route parameters and WebSocket echo functionality. The project includes comprehensive documentation, demos, third-party integrations, and benchmarks. Dependencies include multidict, yarl, and frozenlist; aiodns is optional but recommended for performance. Community support is available via GitHub Discussions, Matrix chat rooms, and Stack Overflow. The source is hosted on GitHub under the aio-libs organization, and it has been supported by Keepsafe in its early development.