Comparison
envsubst vs expandvars
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 envsubstExpand 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 expandvarsIn short
- envsubst looks abandoned: avoid it for new projects.
- expandvars is the most used: 3M downloads a month, 22× more than envsubst.
- expandvars also has the best Pythie’s Index (24).
Side by side
| Metric | envsubst | expandvars |
|---|---|---|
| Pythie’s Index | Pythie’s Index: 11 | 24 |