Python asynchronous programming ¶ See also https://docs.python.org/3/library/asyncio.html https://docs.python.org/3/library/asyncio-api-index.html https://github.com/florimondmanca/awesome-asgi Python asynchronous examples Hello world Calling python async function from sync code by Andrey Zhukov’s Introduction The code before The code after High-level asyncio API Index Python asynchronous programming libraries AnyIO , a Python library providing structured concurrency primitives on top of asyncio Description Articles asyncio Asynchronous I/O Description asyncio High-level APIs Guides and Tutorials Structured concurrency with anyio sniffio Sniff out which async library your code is running under Description Examples Trio (a friendly Python library for async concurrency and I/O) Python asynchronous tutorials Tuto Démystifier Python Async by Patrice Ferlet (https://fediverse.org/Metal3d) Introduction TL;DR D’abord c’est quoi l’asynchronisme ? C’est un thread ? await on en parle de suite Mais c’est quoi une coroutine ? Il est temps d’aller plus loin Task et Coroutine Et quand ça bloque ? On résume Conclusion