Htmotor
HTML Template Engine for Python!
Installation:
Open your terminal and type pip install htmotor
. Now you are ready to go!
Supports:
- Variables
- For Loop
- Eval, Exec
- XSS Preventation
Documentation:
Documentation is avaible at GitHub.
Bug? Issue?
If you got an error or bug, please report at here.
Simple Example
if you want to see htmotor syntax, here you go:
{% responsive %}
{%v title %}
{%v name %}
{%ex import datetime %}Datetime: {%ev datetime.datetime.utcnow().strftime("%d/%m/%Y, %H:%M:%S") %}