mirror of
https://gitee.com/openharmony/third_party_pyyaml
synced 2024-11-23 15:30:46 +00:00
84 lines
2.4 KiB
Plaintext
84 lines
2.4 KiB
Plaintext
From: Kirill Simonov <xi@resolvent.net>
|
|
To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net
|
|
Subject: [ANN] PyYAML-3.12: YAML parser and emitter for Python
|
|
|
|
========================
|
|
Announcing PyYAML-3.12
|
|
========================
|
|
|
|
A new bug fix release of PyYAML is now available:
|
|
|
|
http://pyyaml.org/wiki/PyYAML
|
|
|
|
|
|
Changes
|
|
=======
|
|
|
|
* Wheel packages for Windows binaries.
|
|
* Adding an implicit resolver to a derived loader should not affect
|
|
the base loader (fixes issue #57).
|
|
* Uniform representation for OrderedDict across different versions
|
|
of Python (fixes issue #61).
|
|
* Fixed comparison to None warning (closes issue #64).
|
|
|
|
|
|
Resources
|
|
=========
|
|
|
|
PyYAML homepage: http://pyyaml.org/wiki/PyYAML
|
|
PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation
|
|
Source and binary installers: https://pypi.python.org/pypi/PyYAML/3.12
|
|
|
|
PyYAML HG repository: https://bitbucket.org/xi/pyyaml
|
|
Submit a bug report: https://bitbucket.org/xi/pyyaml/issues/new
|
|
|
|
YAML homepage: http://yaml.org/
|
|
YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core
|
|
|
|
|
|
About PyYAML
|
|
============
|
|
|
|
YAML is a data serialization format designed for human readability and
|
|
interaction with scripting languages. 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
|
|
to represent an arbitrary Python object.
|
|
|
|
PyYAML is applicable for a broad range of tasks from complex
|
|
configuration files to object serialization and persistance.
|
|
|
|
|
|
Example
|
|
=======
|
|
|
|
>>> import yaml
|
|
|
|
>>> yaml.load("""
|
|
... name: PyYAML
|
|
... description: YAML parser and emitter for Python
|
|
... homepage: http://pyyaml.org/wiki/PyYAML
|
|
... keywords: [YAML, serialization, configuration, persistance, pickle]
|
|
... """)
|
|
{'keywords': ['YAML', 'serialization', 'configuration', 'persistance',
|
|
'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description':
|
|
'YAML parser and emitter for Python', 'name': 'PyYAML'}
|
|
|
|
>>> print yaml.dump(_)
|
|
name: PyYAML
|
|
homepage: http://pyyaml.org/wiki/PyYAML
|
|
description: YAML parser and emitter for Python
|
|
keywords: [YAML, serialization, configuration, persistance, pickle]
|
|
|
|
|
|
Copyright
|
|
=========
|
|
|
|
The PyYAML module is written by Kirill Simonov <xi@resolvent.net>.
|
|
|
|
PyYAML is released under the MIT license.
|
|
|