Learn aiohttp
Asynchronous HTTP client and server for asyncio
aiohttp is an asyncio-based HTTP library that provides both a high-performance client and a web server framework, with first-class WebSocket support. It is used for crawlers and API clients that make thousands of concurrent requests, and for lightweight async web services, proxies and real-time apps. Learning it means learning to do HTTP the asyncio way, with explicit sessions, connectors and lifecycles.
Before you start
How deep do you want to go?
1. EssentialsRead and write simple code, do the everyday basics
2. PracticalUse it productively at work, with the usual idioms
3. AdvancedThe less common features, performance and trade-offs
4. ExpertInternals and the edge cases experts know