# API Reference


## Classes


Wrapper types for tagged nodes and unhashable mapping keys


[Yaml](Yaml.md#yaml12.Yaml)  
Tagged node or hashable wrapper for unhashable mapping keys.


## Functions


Public functions for parsing and emitting YAML


[parse_yaml()](parse_yaml.md#yaml12.parse_yaml)  
Parse YAML text into Python values.

[read_yaml()](read_yaml.md#yaml12.read_yaml)  
Read a YAML file from `path` and parse it.

[format_yaml()](format_yaml.md#yaml12.format_yaml)  
Serialize a Python value to a YAML string.

[write_yaml()](write_yaml.md#yaml12.write_yaml)  
Write a Python value to YAML at `path` or stdout.
