Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

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

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.

Files for inetsix-config-builder, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size inetsix-config-builder-0.2.tar.gz (3.0 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page