rjgtoys.yaml: Reading and writing YAMLΒΆ
This is a thin layer on top of ruamel.yaml that does YAML I/O with some tricks that I find useful:
It dumps structures with the layout that I like;
It preserves order of keys in mappings when dumping them;
Mappings are returned as objects that allow both attribute- and item-access;
Multiple files can be loaded from a directory, in a single call;
YAML source files can reference others, and merge them automatically, using an !include tag.