{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Enables Jinja2 templating within YAML files by preprocessing templates before YAML parsing and postprocessing after rendering, allowing you to use template logic while keeping the file valid YAML.","skillfed_tags":["yaml-templating","abandoned"],"use_cases":["Update hardcoded configuration values in YAML files while preserving embedded Jinja2 template logic.","Generate dynamic YAML configurations from templates without breaking YAML validity before rendering.","Maintain YAML files with template logic in comments or conditional blocks that should not be modified during updates.","Process YAML templates where the template syntax needs to coexist with valid YAML structure."],"what_it_does":"ruamel.yaml.jinja2 is a plugin that bridges Jinja2 templating and YAML by allowing you to embed template logic in YAML files without breaking YAML syntax before rendering. It works by rewriting Jinja2 constructs during loading, rendering the template, and then restoring the original structure during dumping. The key constraint is that you must use the same YAML instance for both loading and dumping to maintain the round-trip integrity.\n\nThe intended use case is updating hardcoded values in YAML configuration files while preserving the template logic itself\u2014useful when the template part might only exist in comments or when you want to modify data without touching the templating layer. It integrates with the round-trip processor to maintain formatting and structure.","worth_installing":"No. The package is abandoned (last release 2021-09-23) with no known security vulnerabilities but also no maintenance path forward. If you need Jinja2 templating for YAML, consider rendering templates separately before YAML parsing, or evaluate actively maintained alternatives. Install only if you have an existing codebase already depending on it and cannot migrate."},"id":"ruamel-yaml-jinja2","links":{"html":"https://skillfed.io/packages/ruamel-yaml-jinja2","md":"https://skillfed.io/packages/ruamel-yaml-jinja2.md","pypi":"https://pypi.org/project/ruamel-yaml-jinja2/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-09-23","license_spdx":null,"license_treatment":"permissive","name":"ruamel.yaml.jinja2","python_support":"supports_current","summary":"jinja2 pre and post-processor to update with YAML"},"popularity":{"monthly_downloads":1476675,"position":3858,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"0.2.7"}
