|
|
|
Show HN: Embedded Python for HTML Templates
(github.com)
|
|
2 points
by slaybear
601 days ago
|
|
empyt is a new python library for embedding python directly into HTML templates. I contribute on a few different python web projects, and grew tired of remembering the varying syntax - just let me write python! This is not a full templating language like Jinja, and does not support things like template inheritance, etc. Rather, empyt can be used as an 'extension' alongside other templating engines. Fully functional, but considered a very early v1. Biggest thing ATM is that security needs to be thought through a lot more. |
|
It would probably be helpful to show examples of what it does support, and how that complements an existing templating engine like Jinja. In the README it looks like empyt wraps an existing templating engine, but it isn't clear what that wrapping accomplishes.