{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Renders Jinja2 templates on the command line, substituting shell environment variables into template files with optional defaults and conditional logic.","skillfed_tags":["docker-config","cli-tool","template-engine"],"use_cases":["Generate Docker container configuration files at startup by substituting environment variables into template files.","Create deployment-specific config files (nginx, Redis, etc.) from a single template with environment-driven values.","Build shell scripts or application configs that vary by environment (dev, staging, prod) without duplicating files.","Conditionally include or exclude configuration sections based on whether specific environment variables are defined.","Batch-process multiple template files in a CI/CD pipeline to inject build metadata or secrets."],"what_it_does":"envtpl is a command-line tool that processes Jinja2 templates by injecting shell environment variables into them. It reads a template file (typically with a .tpl extension), substitutes variables using Jinja2 syntax, and writes the rendered output to a file or stdout. The tool supports default values, conditional blocks, and a special environment() function to match variables by prefix\u2014all standard Jinja2 features accessible from the shell.\n\nThe primary use case is Docker container initialization, where configuration files need to be generated at runtime with values from the container environment. By default, envtpl deletes the input template after rendering (though this can be disabled with --keep-template). It handles missing variables by throwing an error unless --allow-missing is passed, which substitutes empty strings instead.","worth_installing":"Yes, if you need lightweight, shell-native template rendering for configuration files in Docker or deployment contexts. The single dependency, active maintenance, and lack of known vulnerabilities make it low-risk. The GPL v3 license requires review if you plan to redistribute or embed it in proprietary software; for internal use it is unproblematic. Not necessary if your deployment tool (Helm, Terraform, etc.) already handles templating."},"id":"envtpl","links":{"html":"https://skillfed.io/packages/envtpl","md":"https://skillfed.io/packages/envtpl.md","pypi":"https://pypi.org/project/envtpl/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-19","license_spdx":null,"license_treatment":"copyleft","name":"envtpl","python_support":"supports_current","summary":"Render jinja2 templates on the command line using shell environment variables"},"popularity":{"monthly_downloads":124923,"position":11846,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.8.0"}
