
Saneyaml simple wrapper for PyYAML that makes it easy to load and dump YAML safely, while preserving ordering and avoiding surprises of type conversions by loading everything except booleans as strings.
It can optionally check for duplicated map keys when loading YAML.