~/talk

Turn your Flask App into Async using Quart

Talkat PyCon APAC 2019 · on Sunday, 2019-02-24· [python, web-platform]
slides:none on file

Claims Quart is a superset of the Flask API so a Flask app can be migrated by swapping imports and making handlers async; demonstrates replacing Flask with Quart and adding async/await to endpoints (replace Flask with Quart and add async). Builds a small sunrise/sunset app that calls external HTTP APIs and measures wall time: synchronous batch runs in about six seconds for 20 items, async version runs roughly 1.8 seconds — a multi× speedup with working code.

AI-written summary · about

  1. 0:00Start
  2. 4:47WHY ASYNC ?
  3. 7:40ASYNC FOR SCALIBILITY
  4. 11:54UNDERSTANDING GENERATOR
  5. 17:59LETS EXPLORE ASYNCIO
  6. 21:20PRODUCER AND CONSUMER APP - ASYNC VERSION
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.