{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup"}],"enrichment":{"capability":"Adds a `dump_to_string` method to ruamel.yaml.YAML instances that serializes YAML data to a Python string instead of writing to a file or stream.","skillfed_tags":["yaml-serialization","ruamel-yaml-plugin"],"use_cases":["Generate YAML strings programmatically for APIs or configuration files without writing to disk","Serialize Python data structures to YAML format for embedding in log messages","Build YAML documents in memory for dynamic configuration generation","Convert Python dictionaries to YAML strings for storage in databases or message queues"],"what_it_does":"ruamel.yaml.string is a plugin for ruamel.yaml that extends the YAML instance with a `dump_to_string` method (aliased as `dumps`). Instead of writing YAML output to a file or stream, it returns the serialized document as a plain Python string. This is useful when you need YAML serialization in memory rather than direct I/O\u2014for example, when building YAML strings for APIs or configuration generation. The method returns the string without a final newline by default, though an `add_final_eol` parameter can control this behavior. The plugin requires ruamel.yaml as a dependency and supports Python 3 and above.\n\nThe package is minimal in scope: it adds one core capability to an existing library rather than providing a standalone tool. It has no external runtime dependencies beyond ruamel.yaml and installs as a pure Python wheel. However, it has been abandoned for over 1200 days with no maintenance activity, so compatibility with recent versions of ruamel.yaml is uncertain.","worth_installing":"Yes, if you are already using ruamel.yaml and need to serialize to strings rather than files. The MIT license is unrestricted, install friction is low, and there are no known vulnerabilities. However, the abandoned status (1200+ days without maintenance) means you should verify compatibility with your version of ruamel.yaml before relying on it in production."},"id":"ruamel-yaml-string","links":{"html":"https://skillfed.io/packages/ruamel-yaml-string","md":"https://skillfed.io/packages/ruamel-yaml-string.md","pypi":"https://pypi.org/project/ruamel-yaml-string/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2023-05-02","license_spdx":null,"license_treatment":"permissive","name":"ruamel.yaml.string","python_support":"supports_current","summary":"add dump_to_string/dumps method that returns YAML document as string"},"popularity":{"monthly_downloads":415572,"position":6825,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.1.1"}
