| [253] | 1 | PyYAML - The next generation YAML parser and emitter for Python. |
|---|
| [58] | 2 | |
|---|
| 3 | To install, type 'python setup.py install'. |
|---|
| 4 | |
|---|
| [295] | 5 | By default, the setup.py script checks whether LibYAML is installed |
|---|
| 6 | and if so, builds and installs LibYAML bindings. To skip the check |
|---|
| [296] | 7 | and force installation of LibYAML bindings, use the option '--with-libyaml': |
|---|
| [295] | 8 | 'python setup.py --with-libyaml install'. To disable the check and |
|---|
| 9 | skip building and installing LibYAML bindings, use '--without-libyaml': |
|---|
| 10 | 'python setup.py --without-libyaml install'. |
|---|
| [279] | 11 | |
|---|
| [296] | 12 | When LibYAML bindings are installed, you may use fast LibYAML-based |
|---|
| [295] | 13 | parser and emitter as follows: |
|---|
| 14 | |
|---|
| [230] | 15 | >>> yaml.load(stream, Loader=yaml.CLoader) |
|---|
| 16 | >>> yaml.dump(data, Dumper=yaml.CDumper) |
|---|
| 17 | |
|---|
| [149] | 18 | For more information, check the PyYAML homepage: |
|---|
| 19 | 'http://pyyaml.org/wiki/PyYAML'. |
|---|
| [58] | 20 | |
|---|
| [156] | 21 | Documentation (rough and incomplete though): |
|---|
| 22 | 'http://pyyaml.org/wiki/PyYAMLDocumentation'. |
|---|
| 23 | |
|---|
| [58] | 24 | Post your questions and opinions to the YAML-Core mailing list: |
|---|
| 25 | 'http://lists.sourceforge.net/lists/listinfo/yaml-core'. |
|---|
| 26 | |
|---|
| [149] | 27 | Submit bug reports and feature requests to the PyYAML bug tracker: |
|---|
| 28 | 'http://pyyaml.org/newticket?component=pyyaml'. |
|---|
| 29 | |
|---|
| [253] | 30 | PyYAML is written by Kirill Simonov <xi@resolvent.net>. It is released |
|---|
| [58] | 31 | under the MIT license. See the file LICENSE for more details. |
|---|