PyYAML is a YAML parser and emitter for Python. PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support, capable extension API, and sensible error messages. PyYAML supports standard YAML tags and provides Python-specific tags that allow the representation of an arbitrary Python object. PyYAML is applicable for a broad range of tasks from complex configuration files to object serialization and persistence.
| Tags | Software Development Libraries Python Modules Text Processing Markup |
|---|---|
| Licenses | MIT/X |
| Operating Systems | OS Independent |
| Implementation | Python |
Recent releases


Changes: Python 3 is supported.


Changes: The emitter learned to output scalars with leading whitespaces in a block style. The test suite is refactored and included in the source distribution. The path resolver in CDumper has been fixed. An explicit document end indicator is forced when there is a possibility of parsing ambiguity. There are other minor fixes and improvements.


Changes: The setup.py script detects LibYAML and builds LibYAML bindings automatically. Building LibYAML bindings no longer requires Pyrex installed. 'yaml.load()' raises an exception if the input stream contains more than one YAML document. Exceptions produced by LibYAML bindings have been fixed. A dot '.' character being recognized as !!float has been fixed. A Python 2.3 compatibility issue in constructing !!timestamp values has been fixed. The attributes 'yaml.__version__' and 'yaml.__with_libyaml__' have been added.


Changes: Windows binary packages were built with the LibYAML trunk. A bug that prevented processing a live stream of YAML documents in timely manner was fixed. A bug which occurred when the path in add_path_resolver contains boolean values was fixed. A loss of microsecond precision in timestamps was fixed. Loading an empty YAML stream was fixed. A number of other smaller fixes and improvements were made.


Changes: Includes experimental LibYAML bindings. Fully supports recursive structures. Fixes a number of bugs and annoyances.
A fast embeddable extensible scripting language for the D programming language.