vinegar.utils.oyamlΒΆ
YAML library that uses OrderedDict from vinegar.utils.odict instead of a
regular dict.
Thanks to this change, insertion order of keys in dictionaries is preserved, even when running on a Python version where regular dicts are not order-preserving yet.
Effectively, this library acts as a wrapper around PyYAML (module yaml), but
it can simply be used like the regular module. For example:
import vinegar.utils.oyaml as yaml