akornatskyy / wheezy.template

A lightweight template library.
https://wheezytemplate.readthedocs.io/en/latest/
MIT License
29 stars 8 forks source link
python template wheezy

wheezy.template

tests Coverage Status Documentation Status pypi version

wheezy.template is a python package written in pure Python code. It is a lightweight template library. The design goals achived:

Simple template:

@require(user, items)
Welcome, @user.name!
@if items:
    @for i in items:
        @i.name: @i.price!s.
    @end
@else:
    No items found.
@end

It is optimized for performance, well tested and documented.

Resources:

Install

wheezy.template requires python version 3.9+. It is independent of operating system. You can install it from pypi site:

pip install -U wheezy.template

If you run into any issue or have comments, go ahead and add on github.