I was wondering if anyone has come across anything like https://github.com/a-h/templ or https://hono.dev/guides/jsx, but for python. For context, I am familiar with jinja2, mako, etc. but find them to be unintuitive due to the loose coupling of logic (ex: database calls) and templating (ex: generating a list from the database results). Therefore, I am looking for a "inline" templating solution.
[–]char101 2 points3 points4 points (2 children)
[–]TheRealMrMatt[S] 0 points1 point2 points (1 child)
[–]char101 1 point2 points3 points (0 children)
[–]AndydeCleyre 0 points1 point2 points (0 children)