* https://pypi.python.org/pypi/rtyaml https://github.com/unitedstates/rtyaml rtyaml: Round-trippable YAML All the annoying stuff we had to do to make YAML usable. This module provides wrappers around pyyaml to set sane defaults: * round-tripping YAML files is possible by preserving field order * saner output defaults are set for strings * a comment block found at the very beginning of a stream when loading YAML is preserved when writing it back out * https://pypi.python.org/pypi/pykwalify/ https://github.com/grokzen/pykwalify YAML/JSON validation library with schema, like `trafaret`. `pip install 'pykwalify[ruamel]'` for `ruamel` backend * https://pypi.python.org/pypi/layered-yaml-attrdict-config/ https://github.com/mk-fg/layered-yaml-attrdict-config Simple YAML-based configuration module, does what it says in the name. Alternate implementations list: https://github.com/mk-fg/layered-yaml-attrdict-config#links * https://pypi.python.org/pypi/ruamel.yaml/ https://bitbucket.org/ruamel/yaml YAML 1.2 loader/dumper package for Python. ruamel.yaml supports YAML 1.2 and has round-trip loaders and dumpers that preserves, among others: * comments * block style and key ordering are kept, so you can diff the round-tripped source * flow style sequences ( ‘a: b, c, d’) (based on request and test by Anthony Sottile) * anchor names that are hand-crafted (i.e. not of the form``idNNN``) * merges in dictionaries are preserved <bountysource-plugin> --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/54025901-improve-yaml-backend-library?utm_campaign=plugin&utm_content=tracker%2F44744115&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F44744115&utm_medium=issues&utm_source=github). </bountysource-plugin>
rtyaml: Round-trippable YAML
All the annoying stuff we had to do to make YAML usable.
This module provides wrappers around pyyaml to set sane defaults:
YAML/JSON validation library with schema, like
trafaret.pip install 'pykwalify[ruamel]'forruamelbackendSimple YAML-based configuration module, does what it says in the name.
Alternate implementations list: https://github.com/mk-fg/layered-yaml-attrdict-config#links
YAML 1.2 loader/dumper package for Python.
ruamel.yaml supports YAML 1.2 and has round-trip loaders and dumpers that preserves, among others:
idNNN)Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.