Video

PDF

Description

aiohttp is a HTTP client and server library built on top of asyncio.

The library allows to write user friendly code which looks like well-known linear one (Requests library for client and Django/Flask/Pyramid for server) but utilizes the power of nonblocking sockets and has a native websockets support.

The intro describes basic programming patterns for both client and server API as well as advanced techniques like server signals and middlewares.

The main target of the talk is displaying an alternative to people who want to avoid classic WSGI frameworks (Django/Flask/Pyramid etc) limitations but found Twisted and Tornado too cumbersome.