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