A port of liquid template engine for python
Project description
liquidpy
A port of liquid template engine for python
Install
pip install liquidpy
Full Documentation
Baisic usage
from liquid import Liquid
liq = Liquid('{{a}}')
ret = liq.render(a = 1)
# ret == '1'
With environments:
liq = Liquid('{{a | os.path.basename}}', os = __import__('os'))
ret = liq.render(a = "path/to/file.txt")
# ret == 'file.txt'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
liquidpy-0.2.2.tar.gz
(21.3 kB
view hashes)
Built Distribution
liquidpy-0.2.2-py3-none-any.whl
(23.2 kB
view hashes)