LogoopenSUSE Build Service > Projects
Sign Up | Log In

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

Source Files (show merged sources derived from linked package)

Filename Size Changed Actions
jinja2-cli-0.6.0.tar.gz 5.62 KB Download File
jinja2-cli_0.6-0.7.patch 15.7 KB Download File
python-jinja2-cli.changes 1.59 KB Download File
python-jinja2-cli.spec 3.52 KB Download File
template.j2 11 Bytes Download File

Comments for home:bruno_friedmann:branches:devel:languages:python (0)

Login required, please login or signup in order to comment