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.2.tar.gz
(3.1 kB
view hashes)
Built Distribution
Close
Hashes for jacobs_jinja_too-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e6fb8d5e45e6ed8c285efe4d286cfd0afe5def473cf6787755055da84ddc138f |
|
MD5 | d0922b20a10cf56642120987f14b4cc6 |
|
BLAKE2b-256 | 6e852886bd31f3b142d60a11a97503fcce3f7ebc65e6db86f4675b130d1dce76 |