A CLI interface to Jinja2
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
- Links to devel:lang...ython:misc / python-jinja2-cli
- Has a link diff
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout home:bruno_friedmann:branches:devel:languages:python/python-jinja2-cli && cd $_
- Create Badge
Refresh
Refresh
Source Files (show merged sources derived from linked package)
Filename | Size | Changed |
---|---|---|
_link | 0000000135 135 Bytes | |
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