Skip to main content

Tool to render JINJA2 templates

Project description

PyPI GitHub Build Status GitHub repo size GitHub top language Libraries.io dependency status for GitHub repo

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

This version

0.2

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

inetsix-config-builder-0.2.tar.gz (3.0 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page