Comparison
envsubst vs envtpl vs expandvars vs jinja-cli
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 envtplExpand system variables Unix style
Low maintenance activity. Last release 15 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install expandvarsa command line interface to jinja;
Likely abandoned. No release or commit for years (last release over 4 years ago).
pip install jinja-cliIn short
- envsubst looks abandoned: avoid it for new projects.
- jinja-cli looks abandoned: avoid it for new projects.
- expandvars is the most used: 3M downloads a month, 23× more than envsubst.
- envtpl is better maintained: Pythie’s Index 59 against 24.
Side by side
| Metric | envsubst | envtpl | expandvars | jinja-cli |
|---|---|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | 59 |