# yaml12 > A modern YAML 1.2 parser and emitter for Python, written in Rust. ## Docs ### API Reference #### Classes > Wrapper types for tagged nodes and unhashable mapping keys - [Yaml](https://posit-dev.github.io/py-yaml12/reference/Yaml.html): Tagged node or hashable wrapper for unhashable mapping keys #### Functions > Public functions for parsing and emitting YAML - [parse_yaml](https://posit-dev.github.io/py-yaml12/reference/parse_yaml.html): Parse YAML text into Python values - [read_yaml](https://posit-dev.github.io/py-yaml12/reference/read_yaml.html): Read a YAML file from `path` and parse it - [format_yaml](https://posit-dev.github.io/py-yaml12/reference/format_yaml.html): Serialize a Python value to a YAML string - [write_yaml](https://posit-dev.github.io/py-yaml12/reference/write_yaml.html): Write a Python value to YAML at `path` or stdout