Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mshenfield/jinjafy
Render a Jinja2 template from the commandline, writing it to stdout.
https://github.com/mshenfield/jinjafy
Last synced: about 13 hours ago
JSON representation
Render a Jinja2 template from the commandline, writing it to stdout.
- Host: GitHub
- URL: https://github.com/mshenfield/jinjafy
- Owner: mshenfield
- License: mit
- Created: 2018-03-03T20:47:54.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-04-20T17:22:49.000Z (over 3 years ago)
- Last Synced: 2024-06-11T20:35:48.378Z (5 months ago)
- Language: Python
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
README
=======
jinjafy
=======
Render a `Jinja2 `_ template from the commandline, writing it to stdout.Install
-------
Run ``pip install jinjafy`` to install the ``jinjafy`` command line tool.Usage
--------
::$ jinjafy --help
usage: jinjafy [-h] [-v] filepath [key=value [key=value ...]]
...$ cat ru.j2
Ben De La {{creme}}, {{allstar}}$ jinjafy ru.j2 creme=Christ allstar="All Star"
Ben De La Christ, All StarDevelopment
-----------
This project uses `Pipenv `_ to isolate development environments. To test::$ pipenv shell
pytestLicense
-------
`MIT `_