PyCon 2019 in Cleveland, Ohio

Thursday 1:20 p.m.–4:40 p.m. in Room 16

Hands-on Intro to aiohttp

Mariatta, Andrew Svetlov


Asyncio is a relatively new feature in Python, with the `async` and `await` syntaxes only recently became proper keywords in Python 3.7. Asyncio allows you to write asynchronous programs in Python. In this tutorial, we’ll introduce you to an asyncio web library called `aiohttp`. `aiohttp` is a library for building web client and server using Python and asyncio. We’ll introduce you to several key features of `aiohttp`; including routing, session handling, templating, using middlewares, connecting to database, and making HTTP GET/POST requests. We’ll provide best practises in building your `aiohttp` application, as well as how to write tests for your application. We’ll use all new Python 3.7 features to build web services with asyncio and aiohttp.

Student Handout

No handouts have been provided yet for this tutorial