Aiohttp
Asynchronous HTTP Client/Server for asyncio and Python.
Key Features
- Supports both Client and HTTP Server.
- Supports both Server WebSockets and Client WebSockets out-of-the-box without the Callback Hell.
- Web-server has Middlewares, Signals and plugable routing.
Categories
aiohttp extensions
- aiohttp-session provides sessions for aiohttp.web.
- aiohttp-debugtoolbar is a library for debug toolbar support for aiohttp.web.
- aiohttp-security auth and permissions for aiohttp.web.
- aiohttp-devtools provides development tools for aiohttp.web applications.
- aiohttp-cors CORS support for aiohttp.
- aiohttp-sse Server-sent events support for aiohttp.
- pytest-aiohttp pytest plugin for aiohttp support.
- aiohttp-mako Mako template renderer for aiohttp.web.
- aiohttp-jinja2 Jinja2 template renderer for aiohttp.web.
- aiozipkin distributed tracing instrumentation for aiohttp client and server.
- aiohttp-remotes A set of useful tools for aiohttp.web server
Database drivers
Other tools
- aiodocker Python Docker API client based on asyncio and aiohttp.
- aiobotocore asyncio support for botocore library using aiohttp.
Approved third-party libraries
The libraries are not part of aio-libs but they are proven to be very well written and highly recommended for usage.
- uvloop Ultra fast implementation of asyncio event loop on top of libuv. We are highly recommending to use it instead of standard asyncio.
Others
Examples
- Vue Router#HTML5 히스토리 모드 - vue-router를 frontend로, backend는 aiohttp로 사용할 경우 배포시 주의사항.
See also
Favorite site
Documentation
Guide
- aiohttp로 하는 비동기 HTTP 요청
- Making 1 million requests with python-aiohttp
- [추천] Running an HTTP & GRPC Python Server Concurrently on AWS Elastic Beanstalk 1 (aiohttp, grpc)
References
-
Running_an_HTTP_GRPC_Python_Server_Concurrently_on_AWS_Elastic_Beanstalk.pdf ↩