ordereddict

YAML loaders and dumpers for PyYAML allowing to keep keys order.

class yamlloader.ordereddict.CLoader(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.loaders.OrderedLoaderMixin, yaml.cyaml.CLoader

class yamlloader.ordereddict.Loader(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.loaders.OrderedLoaderMixin, yaml.loader.Loader

class yamlloader.ordereddict.CDumper(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.dumpers.OrderedDumperMixin, yaml.cyaml.CDumper

The C version is preferable over the non-C version as they do equivalent things while the C version is faster.

class yamlloader.ordereddict.Dumper(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.dumpers.OrderedDumperMixin, yaml.dumper.Dumper

class yamlloader.ordereddict.CSafeLoader(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.loaders.OrderedLoaderMixin, yaml.cyaml.CSafeLoader

class yamlloader.ordereddict.SafeLoader(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.loaders.OrderedLoaderMixin, yaml.loader.SafeLoader

class yamlloader.ordereddict.CSafeDumper(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.dumpers.OrderedDumperMixin, yaml.cyaml.CSafeDumper

The C version is preferable over the non-C version as they do equivalent things while the C version is faster.

class yamlloader.ordereddict.SafeDumper(*args, **kwargs)[source]

Bases: yamlloader.ordereddict.dumpers.OrderedDumperMixin, yaml.dumper.SafeDumper

Submodules