| [378] | 1 | From: Kirill Simonov <xi@resolvent.net> |
|---|
| [369] | 2 | To: python-list@python.org, python-announce@python.org, yaml-core@lists.sourceforge.net |
|---|
| [378] | 3 | Subject: [ANN] PyYAML-3.10: YAML parser and emitter for Python |
|---|
| [160] | 4 | |
|---|
| [165] | 5 | ======================== |
|---|
| [378] | 6 | Announcing PyYAML-3.10 |
|---|
| [165] | 7 | ======================== |
|---|
| [160] | 8 | |
|---|
| [360] | 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 | |
|---|
| [378] | 17 | * Do not try to build LibYAML bindings on platforms other than CPython; |
|---|
| 18 | this fixed installation under Jython (Thank to olt(at)bogosoft(dot)com). |
|---|
| 19 | * Clear cyclic references in the parser and the emitter |
|---|
| 20 | (Thank to kristjan(at)ccpgames(dot)com). |
|---|
| 21 | * LibYAML bindings are rebuilt with the latest version of Cython. |
|---|
| [165] | 22 | |
|---|
| 23 | |
|---|
| 24 | Resources |
|---|
| 25 | ========= |
|---|
| 26 | |
|---|
| 27 | PyYAML homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 28 | PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation |
|---|
| 29 | |
|---|
| [378] | 30 | TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.10.tar.gz |
|---|
| 31 | ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.10.zip |
|---|
| [336] | 32 | Windows installers: |
|---|
| [378] | 33 | http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py2.3.exe |
|---|
| 34 | http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py2.4.exe |
|---|
| 35 | http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py2.5.exe |
|---|
| 36 | http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py2.6.exe |
|---|
| 37 | http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py3.0.exe |
|---|
| 38 | http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py3.1.exe |
|---|
| 39 | http://pyyaml.org/download/pyyaml/PyYAML-3.10.win32-py3.2.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 | |
|---|