| [160] | 1 | From: Kirill Simonov <xi@gamma.dn.ua> |
|---|
| 2 | To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net |
|---|
| [279] | 3 | Subject: [ANN] PyYAML-3.06: YAML parser and emitter for Python |
|---|
| [160] | 4 | |
|---|
| [165] | 5 | ======================== |
|---|
| [279] | 6 | Announcing PyYAML-3.06 |
|---|
| [165] | 7 | ======================== |
|---|
| [160] | 8 | |
|---|
| [253] | 9 | A new bug fix release of PyYAML is now available: |
|---|
| [165] | 10 | |
|---|
| 11 | http://pyyaml.org/wiki/PyYAML |
|---|
| 12 | |
|---|
| 13 | |
|---|
| 14 | Changes |
|---|
| 15 | ======= |
|---|
| 16 | |
|---|
| [279] | 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. |
|---|
| [165] | 25 | |
|---|
| 26 | |
|---|
| 27 | Resources |
|---|
| 28 | ========= |
|---|
| 29 | |
|---|
| 30 | PyYAML homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 31 | PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation |
|---|
| 32 | |
|---|
| [279] | 33 | TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.06.tar.gz |
|---|
| 34 | ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.06.zip |
|---|
| [231] | 35 | Windows installer: |
|---|
| [279] | 36 | http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.3.exe |
|---|
| 37 | http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.4.exe |
|---|
| 38 | http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.5.exe |
|---|
| 39 | http://pyyaml.org/download/pyyaml/PyYAML-3.06.win32-py2.6.exe |
|---|
| [165] | 40 | |
|---|
| 41 | PyYAML SVN repository: http://svn.pyyaml.org/pyyaml |
|---|
| 42 | Submit a bug report: http://pyyaml.org/newticket?component=pyyaml |
|---|
| 43 | |
|---|
| 44 | YAML homepage: http://yaml.org/ |
|---|
| 45 | YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core |
|---|
| 46 | |
|---|
| 47 | |
|---|
| 48 | About PyYAML |
|---|
| 49 | ============ |
|---|
| 50 | |
|---|
| [160] | 51 | YAML is a data serialization format designed for human readability and |
|---|
| 52 | interaction with scripting languages. PyYAML is a YAML parser and |
|---|
| 53 | emitter for Python. |
|---|
| 54 | |
|---|
| 55 | PyYAML features a complete YAML 1.1 parser, Unicode support, pickle |
|---|
| 56 | support, capable extension API, and sensible error messages. PyYAML |
|---|
| 57 | supports standard YAML tags and provides Python-specific tags that allow |
|---|
| 58 | to represent an arbitrary Python object. |
|---|
| 59 | |
|---|
| 60 | PyYAML is applicable for a broad range of tasks from complex |
|---|
| 61 | configuration files to object serialization and persistance. |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | Example |
|---|
| 65 | ======= |
|---|
| 66 | |
|---|
| 67 | >>> import yaml |
|---|
| [253] | 68 | |
|---|
| 69 | >>> yaml.load(""" |
|---|
| 70 | ... name: PyYAML |
|---|
| 71 | ... description: YAML parser and emitter for Python |
|---|
| 72 | ... homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 73 | ... keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| [160] | 74 | ... """) |
|---|
| [253] | 75 | {'keywords': ['YAML', 'serialization', 'configuration', 'persistance', |
|---|
| 76 | 'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description': |
|---|
| 77 | 'YAML parser and emitter for Python', 'name': 'PyYAML'} |
|---|
| [160] | 78 | |
|---|
| [253] | 79 | >>> print yaml.dump(_) |
|---|
| 80 | name: PyYAML |
|---|
| 81 | homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 82 | description: YAML parser and emitter for Python |
|---|
| 83 | keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| [160] | 84 | |
|---|
| [253] | 85 | |
|---|
| [160] | 86 | Copyright |
|---|
| 87 | ========= |
|---|
| 88 | |
|---|
| 89 | The PyYAML module is written by Kirill Simonov <xi@resolvent.net>. |
|---|
| 90 | |
|---|
| 91 | PyYAML is released under the MIT license. |
|---|
| 92 | |
|---|