| [160] | 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: PyYAML-3.01: Initial Release |
|---|
| 4 | |
|---|
| 5 | PyYAML: YAML parser and emitter for Python |
|---|
| 6 | ========================================== |
|---|
| 7 | |
|---|
| 8 | YAML is a data serialization format designed for human readability and |
|---|
| 9 | interaction with scripting languages. PyYAML is a YAML parser and |
|---|
| 10 | emitter for Python. |
|---|
| 11 | |
|---|
| 12 | PyYAML features a complete YAML 1.1 parser, Unicode support, pickle |
|---|
| 13 | support, capable extension API, and sensible error messages. PyYAML |
|---|
| 14 | supports standard YAML tags and provides Python-specific tags that allow |
|---|
| 15 | to represent an arbitrary Python object. |
|---|
| 16 | |
|---|
| 17 | PyYAML is applicable for a broad range of tasks from complex |
|---|
| 18 | configuration files to object serialization and persistance. |
|---|
| 19 | |
|---|
| 20 | You may download PyYAML from http://pyyaml.org/wiki/PyYAML. |
|---|
| 21 | |
|---|
| 22 | |
|---|
| 23 | Example |
|---|
| 24 | ======= |
|---|
| 25 | |
|---|
| 26 | >>> import yaml |
|---|
| 27 | |
|---|
| 28 | >>> yaml.load(""" |
|---|
| 29 | ... name: PyYAML |
|---|
| 30 | ... version: 3.01 |
|---|
| 31 | ... description: YAML parser and emitter for Python |
|---|
| 32 | ... homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 33 | ... keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 34 | ... """) |
|---|
| 35 | {'keywords': ['YAML', 'serialization', 'configuration', 'persistance', |
|---|
| 36 | 'pickle'], 'version': 3.01, 'homepage': 'http://pyyaml.org/wiki/PyYAML', |
|---|
| 37 | 'description': 'YAML parser and emitter for Python', 'name': 'PyYAML'} |
|---|
| 38 | |
|---|
| 39 | >>> print yaml.dump(_) |
|---|
| 40 | homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 41 | version: 3.01 |
|---|
| 42 | name: PyYAML |
|---|
| 43 | keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 44 | description: YAML parser and emitter for Python |
|---|
| 45 | |
|---|
| 46 | |
|---|
| 47 | Links |
|---|
| 48 | ===== |
|---|
| 49 | |
|---|
| 50 | PyYAML homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 51 | PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation |
|---|
| 52 | |
|---|
| 53 | TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.01.tar.gz |
|---|
| 54 | ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.01.zip |
|---|
| 55 | Windows installer: http://pyyaml.org/download/pyyaml/PyYAML-3.01.win32.exe |
|---|
| 56 | |
|---|
| 57 | PyYAML SVN repository: http://svn.pyyaml.org/pyyaml |
|---|
| 58 | Submit a bug report: http://pyyaml.org/newticket?component=pyyaml |
|---|
| 59 | |
|---|
| 60 | YAML homepage: http://yaml.org/ |
|---|
| 61 | YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core |
|---|
| 62 | |
|---|
| 63 | |
|---|
| 64 | Changes |
|---|
| 65 | ======= |
|---|
| 66 | |
|---|
| 67 | * Initial release. The version number reflects the codename of the |
|---|
| 68 | project (PyYAML 3000) and differenciates it from the abandoned PyYaml |
|---|
| 69 | module. |
|---|
| 70 | |
|---|
| 71 | |
|---|
| 72 | Copyright |
|---|
| 73 | ========= |
|---|
| 74 | |
|---|
| 75 | The PyYAML module is written by Kirill Simonov <xi@resolvent.net>. |
|---|
| 76 | |
|---|
| 77 | PyYAML is released under the MIT license. |
|---|
| 78 | |
|---|