{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"},{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Adds a custom YAML tag that lets you reference environment variables directly in YAML files, with support for fallbacks and type coercion.","skillfed_tags":["yaml-config","environment-variables"],"use_cases":["Load database credentials from environment variables in a YAML config file without post-processing","Provide environment-specific configuration by setting different env vars before parsing","Define fallback values for optional settings that may or may not be set in the environment","Avoid hardcoding secrets in config files by referencing them as env vars at parse time","Coerce environment string values to booleans, integers, or null in YAML without manual conversion"],"what_it_does":"pyyaml_env_tag extends pyyaml with a custom `!ENV` tag that substitutes environment variable values directly into YAML during parsing. Instead of loading static config files, you can reference environment variables by name, and the tag will resolve them to their actual values at parse time. The package automatically coerces values using YAML's implicit type system\u2014so an environment variable set to the string `true` becomes a Python boolean, not a string.\n\nThe tag supports fallback chains and defaults: you can specify multiple environment variables to try in order, with a final default value if none are set. This is useful for configuration management where you want environment-specific overrides but sensible defaults when variables aren't defined. The package depends only on pyyaml and integrates by wrapping your chosen loader with the `add_env_tag()` helper.","worth_installing":"Yes, if you need to inject environment variables into YAML configs at parse time. The package is lightweight, has no security issues, and is stable. The aging maintenance status (458 days since last release) is not a blocker for a small, focused tool, but monitor the repo if you depend on active development. Install if your workflow benefits from env-var-aware YAML loading; skip if you prefer post-processing or template-based substitution."},"id":"pyyaml-env-tag","links":{"html":"https://skillfed.io/packages/pyyaml-env-tag","md":"https://skillfed.io/packages/pyyaml-env-tag.md","pypi":"https://pypi.org/project/pyyaml-env-tag/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2025-05-13","license_spdx":"MIT","license_treatment":"permissive","name":"pyyaml-env-tag","python_support":"supports_current","summary":"A custom YAML tag for referencing environment variables in YAML files."},"popularity":{"monthly_downloads":17155159,"position":1131,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.1"}
