{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/14"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"}],"enrichment":{"capability":"A lightweight PyYAML wrapper that reads and writes YAML safely with predictable behavior, loading everything except booleans as strings and preserving key order.","skillfed_tags":["yaml-parsing","configuration-management"],"use_cases":["Parse configuration files where numeric-looking strings (versions, IDs) must stay strings and not convert to numbers.","Generate human-readable YAML output from Python dicts while maintaining consistent formatting and key order.","Detect and report duplicate keys in YAML maps to catch configuration errors early.","Load YAML safely in build or deployment tools where type surprises could cause silent failures.","Preserve the order of configuration keys when round-tripping YAML through Python."],"what_it_does":"saneyaml is a thin wrapper around PyYAML designed to make YAML parsing and generation more predictable for typical configuration-file use cases. It addresses two common pain points: unwanted type inference (converting strings like '3.0.0' into floats or booleans) and loss of key order. By default, saneyaml loads everything except booleans as strings, preserves insertion order in dictionaries, and can optionally detect duplicate map keys\u2014all while producing clean, readable YAML output when dumping.\n\nThe library is intended for developers who need reliable, unsurprising YAML handling in configuration workflows. It trades some of PyYAML's automatic type conversion for predictability, making it especially useful when you want version strings, IDs, and other numeric-looking values to remain strings unless explicitly converted.","worth_installing":"Yes, if you need predictable YAML handling for configuration files and want to avoid PyYAML's automatic type conversions. The single dependency, permissive license, and low install friction make it a lightweight addition. Maintenance is aging (last release 2024-08-14, no updates in over 730 days), but the repository is active and there are no known security vulnerabilities. Suitable for stable, non-evolving use cases; monitor the repo if you need ongoing feature development."},"id":"saneyaml","links":{"html":"https://skillfed.io/packages/saneyaml","md":"https://skillfed.io/packages/saneyaml.md","pypi":"https://pypi.org/project/saneyaml/"},"maintenance":{"status":"aging"},"meta":{"latest_release":"2024-08-14","license_spdx":null,"license_treatment":"permissive","name":"saneyaml","python_support":"supports_current","summary":"Read and write readable YAML safely preserving order and avoiding bad surprises with unwanted infered type conversions. This library is a PyYaml wrapper with sane behaviour to read and write readable YAML safely, typically when used for configuration."},"popularity":{"monthly_downloads":170427,"position":10395,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.6.1"}
