Comparison
envsubst vs envtpl vs j2cli vs jnjrender
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
Substitute environment variables in a string
Likely abandoned. No release or commit for years (last release over 7 years ago).
pip install envsubstRender jinja2 templates on the command line using shell environment variables
Maintained. Last release 8 months ago, commits in 9 of the last 26 weeks. Weaker on release cadence.
pip install envtplCommand-line interface to Jinja2 for templating in shell scripts.
Archived. The repository is read-only: no more fixes or releases will come.
pip install j2cliCLI tool to render Jinja2 templates with YAML variables, with auto-selection from template libraries
Maintained. Last release 7 months ago. Weaker on release cadence.
pip install jnjrenderIn short
- envsubst looks abandoned: avoid it for new projects.
- j2cli is archived: avoid it for new projects.
- envtpl is the most used: 58K downloads a month.
- Maintenance is comparable: envtpl 59, jnjrender 57 on Pythie’s Index.