This module provides loaders and dumpers for PyYAML.
Currently, an OrderedDict loader/dumper is implemented, allowing to keep items
order when loading respective dumping a file from/to an OrderedDict.
(Python 3.8+: Also regular dicts are supported and are the default items to be
loaded to. As of Python 3.7 preservation of insertion order is a language
feature of regular dicts.)
This project was originally mirrored from "yamlordereddict" and contains
several improvements including automated testing and the much faster C-versions
of the Loaders/Dumpers.
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above. NOTE: This is a Python port. Instead of py311-yamlloader listed in the above command, you can pick from the names under the Packages section.
port moved here from devel/py-yamlordereddictloader on 2026-06-30 REASON: Has expired: Deprecated by upstream and no longer actively maintained, please use devel/py-yamlloader instead
devel/py-yamlloader: New port
This module provides loaders and dumpers for PyYAML.
Currently, an OrderedDict loader/dumper is implemented, allowing to keep
items order when loading respective dumping a file from/to an
OrderedDict.
(Python 3.8+: Also regular dicts are supported and are the default items
to be loaded to. As of Python 3.7 preservation of insertion order is a
language feature of regular dicts.)
This project was originally mirrored from "yamlordereddict" and contains
several improvements including automated testing and the much faster
C-versions of the Loaders/Dumpers.