Hi Bobby
Interesting approach. I think Python has had a few experiments with
templates as classes/functions before, such as
https://pypi.org/project/yattag/ . But you're right, f-strings do make this
easier.
If this idea is something that's several years away from usability, I
suggest releasing a
I’ve been testing out some custom Python classes for Django templating, due to
Python 3.6’s addition of F-strings. In addition, templates now have the full
capability to be programmed in Python itself, with the possibility of creating
smart templates and components based on Python classes.
Inst