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.