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 unmerged sources)
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
Latest Revision
Bruno Friedmann's avatar Bruno Friedmann (bruno_friedmann) committed (revision 8)
- Update to version 0.8.2
- Remove merged patches 6f47635.patch and de5e8bf.patch
- Update copyright year
- Remove python-pytest-runner BuildRequires as no more needed
Comments 0
openSUSE Build Service is sponsored by