Tool to render JINJA2 templates
Project description
Configuration Builder
Provide python script to render templates based on :
- Python 2.7 & 3.x
- Jinja2
- Yaml
Installation
Scripts can be installed with pip:
$ pip install inetsix-config-builder
For latest version (dev)
$ pip install git+https://github.com/titom73/inetsix-config-builder
Usage
Usage is like below:
$ inetsix-config-builder -h tgrimonet@tgrimonet
usage: inetsix-config-builder [-h] [-y YAML] [-t TEMPLATE] [-b BASE] [-o OUTPUT]
[-of OUTPUT_FORMAT]
Configuration Builder
optional arguments:
-h, --help show this help message and exit
-y YAML, --yaml YAML Provides YAML file to fill Jinja2 template,
default=dict.yml
-t TEMPLATE, --template TEMPLATE
template file, default=./template.j2
-b BASE, --base BASE Base to construct filename, default=generated-conf-
-o OUTPUT, --output OUTPUT
Directory to store configuration, default .
-of OUTPUT_FORMAT, --output_format OUTPUT_FORMAT
File extension, default: .conf
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
Close
Hashes for inetsix-config-builder-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 49596b45c7ae4d0285ebf06e2bb11085945306f2422788e70b1fa9129db8a87d |
|
MD5 | c24269bf113e64c5c6f2c7548beca734 |
|
BLAKE2b-256 | 6436fb8e292bf1e85820a045e5c9ac2183b347f21e2acd0ffed67f8ae5c008d4 |