A small template renderer supporting variables, loops and conditionals.
Mostly written for my own projects, but it may be useful to someone else.
pip install template-renderfrom template_render import templateRender
result = templateRender("example")
print(result)- No runtime dependencies outside the standard library.
- Tested on Python 3.9 and newer.
MIT