Skip to main content

Jinja2 templating based on environment variables.

Project description

Simple command line template renderer using Jinja2.

This will parse the current environment into a dictionary tree where each key is split along underscores or camelcase and each element is added a sub-dictionary.

For example:


Would result in:

    'database': {
        'one': {
            'url': 'mysql1:3306,
            'name': 'one'
        'two': {
            'url': mysql2:3306,
            'name': 'two'
        'ldap': 'true'
$ j2tmpl template.jinja
$ j2tmpl --help

Project details

Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
j2tmpl-0.0.2.tar.gz (4.5 kB) Copy SHA256 hash SHA256 Source None

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