{"library":"parameter-expansion-patched","title":"parameter-expansion-patched","description":"A Python library that implements shell-style parameter expansion (e.g., ${VAR:-default}, ${VAR#prefix}). It is a patched fork of the original parameter-expansion library, maintained for PyPI distribution. Current version 0.3.1, with occasional updates.","language":"python","status":"active","last_verified":"Fri May 01","install":{"commands":["pip install parameter-expansion-patched"],"cli":null},"imports":["from parameter_expansion_patched import ParameterExpander"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"from parameter_expansion_patched import ParameterExpander\n\nexpander = ParameterExpander(env={'USER': 'alice', 'HOME': '/home/alice'})\nresult = expander.expand('Hello ${USER:-default}, your home is ${HOME}')\nprint(result)  # Hello alice, your home is /home/alice","lang":"python","description":"Creates a ParameterExpander with an environment dict, then expands a string with shell parameter syntax.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}