A CLI interface to Jinja2

Edit Package python-jinja2-cli

jinja2 client interface for Jinja2 a template engine written
in pure Python.
If PyYAML is present, you can use YAML as an input data source.
If toml is present, you can use TOML as an input data source.
Here some way to use it :
jinja2 helloworld.tmpl data.json --format=json
cat data.json | jinja2 helloworld.tmpl
curl -s http://httpbin.org/ip | jinja2 helloip.tmpl
curl -s http://httpbin.org/ip | jinja2 helloip.tmpl > helloip.html

Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename Size Changed
jinja2-cli-0.8.2.tar.gz 0000006726 6.57 KB
python-jinja2-cli.changes 0000002449 2.39 KB
python-jinja2-cli.spec 0000003629 3.54 KB
template.j2 0000000011 11 Bytes
test_jinja2cli.py 0000000702 702 Bytes
Comments 0
No comments available
openSUSE Build Service is sponsored by