| 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.02: YAML parser and emitter for Python |
|---|
| 4 | |
|---|
| 5 | ======================== |
|---|
| 6 | Announcing PyYAML-3.02 |
|---|
| 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 | * Fix win32 installer. Apparently bdist_wininst does not work well under |
|---|
| 18 | Linux. |
|---|
| 19 | * Fix a bug in add_path_resolver. |
|---|
| 20 | * Add the yaml-highlight example. Try to run on a color terminal: |
|---|
| 21 | `python yaml_hl.py <any_document.yaml`. |
|---|
| 22 | |
|---|
| 23 | |
|---|
| 24 | Resources |
|---|
| 25 | ========= |
|---|
| 26 | |
|---|
| 27 | PyYAML homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 28 | PyYAML documentation: http://pyyaml.org/wiki/PyYAMLDocumentation |
|---|
| 29 | |
|---|
| 30 | TAR.GZ package: http://pyyaml.org/download/pyyaml/PyYAML-3.02.tar.gz |
|---|
| 31 | ZIP package: http://pyyaml.org/download/pyyaml/PyYAML-3.02.zip |
|---|
| 32 | Windows installer: http://pyyaml.org/download/pyyaml/PyYAML-3.02.win32.exe |
|---|
| 33 | |
|---|
| 34 | PyYAML SVN repository: http://svn.pyyaml.org/pyyaml |
|---|
| 35 | Submit a bug report: http://pyyaml.org/newticket?component=pyyaml |
|---|
| 36 | |
|---|
| 37 | YAML homepage: http://yaml.org/ |
|---|
| 38 | YAML-core mailing list: http://lists.sourceforge.net/lists/listinfo/yaml-core |
|---|
| 39 | |
|---|
| 40 | |
|---|
| 41 | About PyYAML |
|---|
| 42 | ============ |
|---|
| 43 | |
|---|
| 44 | YAML is a data serialization format designed for human readability and |
|---|
| 45 | interaction with scripting languages. PyYAML is a YAML parser and |
|---|
| 46 | emitter for Python. |
|---|
| 47 | |
|---|
| 48 | PyYAML features a complete YAML 1.1 parser, Unicode support, pickle |
|---|
| 49 | support, capable extension API, and sensible error messages. PyYAML |
|---|
| 50 | supports standard YAML tags and provides Python-specific tags that allow |
|---|
| 51 | to represent an arbitrary Python object. |
|---|
| 52 | |
|---|
| 53 | PyYAML is applicable for a broad range of tasks from complex |
|---|
| 54 | configuration files to object serialization and persistance. |
|---|
| 55 | |
|---|
| 56 | |
|---|
| 57 | Example |
|---|
| 58 | ======= |
|---|
| 59 | |
|---|
| 60 | >>> import yaml |
|---|
| 61 | |
|---|
| 62 | >>> yaml.load(""" |
|---|
| 63 | ... name: PyYAML |
|---|
| 64 | ... description: YAML parser and emitter for Python |
|---|
| 65 | ... homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 66 | ... keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 67 | ... """) |
|---|
| 68 | {'keywords': ['YAML', 'serialization', 'configuration', 'persistance', |
|---|
| 69 | 'pickle'], 'homepage': 'http://pyyaml.org/wiki/PyYAML', 'description': |
|---|
| 70 | 'YAML parser and emitter for Python', 'name': 'PyYAML'} |
|---|
| 71 | |
|---|
| 72 | >>> print yaml.dump(_) |
|---|
| 73 | name: PyYAML |
|---|
| 74 | homepage: http://pyyaml.org/wiki/PyYAML |
|---|
| 75 | description: YAML parser and emitter for Python |
|---|
| 76 | keywords: [YAML, serialization, configuration, persistance, pickle] |
|---|
| 77 | |
|---|
| 78 | |
|---|
| 79 | Copyright |
|---|
| 80 | ========= |
|---|
| 81 | |
|---|
| 82 | The PyYAML module is written by Kirill Simonov <xi@resolvent.net>. |
|---|
| 83 | |
|---|
| 84 | PyYAML is released under the MIT license. |
|---|
| 85 | |
|---|