Software Details:
Version: 3.10
Upload Date: 12 May 15
Distribution Type: Freeware
Downloads: 17
PyYAML project is a YAML emitter and parser 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.
Features:
- a complete YAML 1.1 parser. In particular, PyYAML can parse all examples from the specification. The parsing algorithm is simple enough to be a reference for YAML parser implementors.
- Unicode support including UTF-8/UTF-16 input/output and u escape sequences.
- low-level event-based parser and emitter API (like SAX).
- high-level API for serializing and deserializing native Python objects (like DOM or pickle).
- support for all types from the YAML types repository. A simple extension API is provided.
- relatively sensible error messages.
What is new in this release:
- Fixed use of uninitialized memory when emitting anchors with LibYAML bindings (Thank to cegner(at)yahoo-inc(dot)com).
- Fixed emitting incorrect BOM characters for UTF-16 (Thank to Valentin Nechayev)
- Fixed the emitter for folded scalars not respecting the preferred line width (Thank to Ingy).
- Fixed a subtle ordering issue with emitting %TAG directives (Thank to Andrey Somov).
- Fixed performance regression with LibYAML bindings.
What is new in version 3.07:
- 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.
What is new in version 3.06:
- 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.
Requirements:
- Python
Comments not found