Simple wrapper around jinja2 templating
Project description
Jacob's Jinja Too
A simple wrapper around Jinja2 templatung with a collection of custom filters.
Installation
pip3 install jacobs-jinja-too
Example Usage
from jacobsjinjatoo import Templator as jj2
t = jj2.MarkdownTemplator()
t.add_template_dir('templates/')
params = {
"name": "My Name"
}
t.render_template('foo.jinja2', output_name='foo.txt', **params)
License
GPLv2
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jacobs-jinja-too-0.0.3.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for jacobs_jinja_too-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 91bf05fe464adeb4c041ffa4052372bd89c4048c007994373cda51db428c20f5 |
|
MD5 | 5851027f8cbe519d61c1ad86e94c68e9 |
|
BLAKE2b-256 | d8abdd5ec8d293e0666f7142b0cbc4c72c9d27aafc374485d49f5a0b1bfc3a55 |