Python command-line tool to generates text files based on Jinja2 template and YAML data file.
Project description
JINJACRAFT
JinjaCraft is a simple Python command-line tool which can generate text file based on a Jinja2 template and a YAML data file.
Installation
git clone https://github.com/sdejongh/jinjacraft.git
cd jinjacraft
pip install -r requirements.txt
pip install .
Usage
usage: jinjacraft [-h] [-o OUTPUT_FILE] data_file template_file
positional arguments:
data_file Yaml data file path
template_file Jinja2 template file path
options:
-h, --help show this help message and exit
-o OUTPUT_FILE, --output_file OUTPUT_FILE
Output file path
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
jinjacraft-1.1.2.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for jinjacraft-1.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6c800ad420f3b730de61ebacb83d3de5704bb1fbd1ec963aef7fe4f8a99ceee3 |
|
MD5 | 9e64ef15e06b2d5dbec2f625aaf0340c |
|
BLAKE2b-256 | 54c1c4b02d1a5f5ceb4beca57641d334601998faf5fd75d280f3b3930b9911ba |