{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Embeds Python expressions directly in YAML files, evaluating them at parse time to generate dynamic configuration values.","skillfed_tags":["yaml-templating","abandoned"],"use_cases":["Generate computed configuration values (e.g., derived paths, sums) directly in YAML without post-processing","Build environment-aware configs that reference os or other standard library modules within YAML","Reduce boilerplate by embedding simple Python logic in configuration files instead of wrapper scripts"],"what_it_does":"pyyml extends YAML parsing to allow Python code execution within YAML files. When you load a YAML file through pyyml, any expression wrapped in ${...} is evaluated as Python code and replaced with its result. You can also import packages at the top of your YAML file using a special # libs:[...] comment syntax, making those modules available to your expressions.\n\nThis is useful for configuration files that need computed values\u2014file paths, sums, environment-dependent settings\u2014without leaving YAML syntax. However, the package has received no maintenance since its initial release in April 2019 and depends on pyyaml, which has evolved significantly. The security model of executing arbitrary Python in YAML requires careful vetting of configuration sources.","worth_installing":"No. The package is abandoned with no updates since April 2019, and its security model\u2014executing Python code embedded in YAML\u2014poses risks if configuration sources are untrusted. Modern alternatives or explicit post-processing of YAML are safer. Only consider it for legacy systems already using it."},"id":"pyyml","links":{"html":"https://skillfed.io/packages/pyyml","md":"https://skillfed.io/packages/pyyml.md","pypi":"https://pypi.org/project/pyyml/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2019-04-09","license_spdx":null,"license_treatment":"permissive","name":"pyyml","python_support":"unspecified","summary":"Use python in yaml"},"popularity":{"monthly_downloads":432712,"position":6706,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.0.2"}
