aboutsummaryrefslogtreecommitdiff
path: root/libraries/python-ruamel.yaml/README
blob: 91a1a822564ae416862af49d30377adba8b5bf25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
YAML is a human friendly data serialization standard for all programming
languages. It is commonly used for configuration files, logs, etc.

ruamel.yaml is a YAML 1.2 loader/dumper package for Python. It is a
derivative of Kirill Simonov’s PyYAML 3.11.

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’)
* anchor names that are hand-crafted (i.e. not of the form``idNNN``)
* merges in dictionaries are preserved

Python3 is an optional dependency (autodetected).