A few weeks ago I open sourced a tiny library Iāve been noodling on for a while: github.com/j4mie/hotmetal
Itās for generating HTML from basic Python data structures. Itās a bit weird and most people will probably hate it (which is fine). But Iāve now built a moderately complicated web app with it and Iām never going back to string-based templates!
Oh, and it runs quite happily under MicroPython on a ~Ā£4 microcontroller, which is fun.