{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/9"}],"enrichment":{"capability":"Substitutes environment variables in strings using shell-like syntax, supporting both simple variable references and default value expressions.","skillfed_tags":["shell-compatibility","abandoned"],"use_cases":["Substitute environment variables into configuration strings or templates at runtime without external templating libraries.","Parse and expand shell-like variable references in user-provided strings or configuration files.","Build dynamic command strings or paths that depend on environment variables with fallback defaults.","Migrate shell scripts to Python while preserving variable substitution syntax familiar to shell users."],"what_it_does":"envsubst is a lightweight utility for performing shell-style environment variable substitution within Python strings. It parses strings containing variable references like `$VAR` or `${VAR}` and replaces them with their corresponding environment variable values. The package supports default value syntax\u2014`${VAR:-default}` uses a default if the variable is unset, and `${VAR-default}` uses a default only if the variable is unset or empty\u2014mirroring common shell behavior.\n\nThe package has no runtime dependencies and installs as a pure Python wheel, making it simple to add to any project. However, it has been abandoned since its last release in October 2019, with no commits to the repository since July 2023. This means any bugs or compatibility issues with newer Python versions will not be fixed by the maintainer.","worth_installing":"Yes, if you need simple shell-style variable substitution and can accept that the package is unmaintained. The low install friction and permissive MIT license make it a lightweight choice for straightforward use cases. No, if you require active maintenance, Python version compatibility guarantees, or support for complex templating\u2014consider a maintained alternative or implement substitution inline."},"id":"envsubst","links":{"html":"https://skillfed.io/packages/envsubst","md":"https://skillfed.io/packages/envsubst.md","pypi":"https://pypi.org/project/envsubst/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-10-05","license_spdx":null,"license_treatment":"permissive","name":"envsubst","python_support":"unspecified","summary":"Substitute environment variables in a string"},"popularity":{"monthly_downloads":144892,"position":11140,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.5"}
