You are viewing the 2025 edition of FOSDEM. Click here to view the 2026 edition
Typed HTML in my Python?
H.2215 (Ferrer) | Day 1 | 12:50 - 13:05 | Speakers: Athena Wolfskämpf (she/her)
Typed HTML in my Python?
Abstract
Not everything needs to become a string! At least not so fast. Don't lose your typing information when building templates for Django, Flask, FastAPI or even without any framework.
With htpy you can write templates just like you write Python, including full support for mypy or pyright checks.
I will show you how to get started with htpy and show you some patterns that make your components reusable and typesafe.
Speakers
Athena Wolfskämpf (she/her)
Links
External Links
Notice: The placeholder video image is licensed under CC BY-SA 4.0. The original image can be found hereChanges made to the image are: Cropped the image to a new ratio, part of the image was cut off.
