| 1 |
From: Kirill Simonov <xi@gamma.dn.ua> |
|---|
| 2 |
To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net |
|---|
| 3 |
Subject: [ANN] PyYAML-3.06: YAML parser and emitter for Python |
|---|
| 4 |
|
|---|
| 5 |
======================== |
|---|
| 6 |
Announcing PyYAML-3.06 |
|---|
| 7 |
======================== |
|---|
| 8 |
|
|---|
| 9 |
A new bug fix release of PyYAML is now available: |
|---|
| 10 |
|
|---|
| 11 |
http://pyyaml.org/wiki/PyYAML |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
Changes |
|---|
| 15 |
======= |
|---|
| 16 |
|
|---|
| 17 |
* Fixed a dot '.' character being recognized as !!float. |
|---|
| 18 |
* Fixed exceptions produced by LibYAML bindings. |
|---|
| 19 |
* 'yaml.load()' raises an exception if the input stream contains |
|---|
| 20 |
more than one YAML document. |
|---|
| 21 |
* Use setuptools for setup.py. If you want to build optional LibYAML |
|---|
| 22 |
bindings, run 'python setup.py --with-libyaml install'. Building |
|---|
| 23 |
LibYAML bindings no longer requires PyRex installed. |
|---|
| 24 |
* Windows binary packages are built against the LibYAML stable branch. |
|---|
| 25 |
* Added an attribute 'yaml.__version__' and a flag 'yaml.__libyaml__'. |
|---|
| 26 |
|
|---|
| 27 |
|
|---|
| 28 |
Resources |
|---|
| 29 |
========= |
|---|
| 30 |
|
|---|
| 31 |
PyYAML homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 32 |
PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation |
|---|
| 33 |
|
|---|
| 34 |
TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.06.tar.gz |
|---|
| 35 |
ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.06.zip |
|---|
| 36 |
Windows installer: |
|---|
| 37 |
http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.3.exe |
|---|
| 38 |
http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.4.exe |
|---|
| 39 |
http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.5.exe |
|---|
| 40 |
http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.6.exe |
|---|
| 41 |
|
|---|
| 42 |
PyYAML SVN repository: http://svn.pyyaml.org/pyyaml |
|---|
| 43 |
Submit a bug report: http://pyyaml.org/newticket?component=pyyaml |
|---|
| 44 |
|
|---|
| 45 |
YAML homepage: http://yaml.org/ |
|---|
| 46 |
YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core |
|---|
| 47 |
|
|---|
| 48 |
|
|---|
| 49 |
About PyYAML |
|---|
| 50 |
============ |
|---|
| 51 |
|
|---|
| 52 |
YAML is a data serialization format designed for human readability and |
|---|
| 53 |
interaction with scripting languages. PyYAML is a YAML parser and |
|---|
| 54 |
emitter for Python. |
|---|
| 55 |
|
|---|
| 56 |
PyYAML features a complete YAML 1.1 parser, Unicode support, pickle |
|---|
| 57 |
support, capable extension API, and sensible error messages. PyYAML |
|---|
| 58 |
supports standard YAML tags and provides Python-specific tags that allow |
|---|
| 59 |
to represent an arbitrary Python object. |
|---|
| 60 |
|
|---|
| 61 |
PyYAML is applicable for a broad range of tasks from complex |
|---|
| 62 |
configuration files to object serialization and persistance. |
|---|
| 63 |
|
|---|
| 64 |
|
|---|
| 65 |
Example |
|---|
| 66 |
======= |
|---|
| 67 |
|
|---|
| 68 |
>>> import yaml |
|---|
| 69 |
|
|---|
| 70 |
>>> yaml.load(""" |
|---|
| 71 |
... name: PyYAML |
|---|
| 72 |
... description: YAML parser and emitter for Python |
|---|
| 73 |
... homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 74 |
... keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 75 |
... """) |
|---|
| 76 |
{'keywords': ['YAML', 'serialization', 'configuration', 'persistance', |
|---|
| 77 |
'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description': |
|---|
| 78 |
'YAML parser and emitter for Python', 'name': 'PyYAML'} |
|---|
| 79 |
|
|---|
| 80 |
>>> print yaml.dump(_) |
|---|
| 81 |
name: PyYAML |
|---|
| 82 |
homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 83 |
description: YAML parser and emitter for Python |
|---|
| 84 |
keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 85 |
|
|---|
| 86 |
|
|---|
| 87 |
Copyright |
|---|
| 88 |
========= |
|---|
| 89 |
|
|---|
| 90 |
The PyYAML module is written by Kirill Simonov <xi@resolvent.net>. |
|---|
| 91 |
|
|---|
| 92 |
PyYAML is released under the MIT license. |
|---|
| 93 |
|
|---|