Bug: 230649493

Clone this repo:
  1. ff5184c Add pyyaml_filegroup am: f92e531cd0 am: 60ac54af06 am: 98f3d88a92 by Cole Faust · 4 months ago main master
  2. 98f3d88 Add pyyaml_filegroup am: f92e531cd0 am: 60ac54af06 by Cole Faust · 4 months ago
  3. 60ac54a Add pyyaml_filegroup am: f92e531cd0 by Cole Faust · 4 months ago
  4. f92e531 Add pyyaml_filegroup by Cole Faust · 4 months ago
  5. 1dfb4e3 Remove Python enables identical to global defaults. am: ebfb6db9b3 am: e07c2e89ef am: 37d54b3612 am: 627660b246 am: db03f6cf06 by Krzysztof Kosiński · 1 year, 7 months ago android14-dev android14-mainline-healthfitness-release android14-qpr1-release android14-qpr1-s2-release aml_cfg_341510000 aml_hef_341114030 aml_hef_341311010 aml_hef_341415040 aml_hef_341512030 aml_rkp_341012000 aml_rkp_341015010 aml_rkp_341114000 aml_rkp_341311000 aml_rkp_341510000 android-14.0.0_r16 android-14.0.0_r17 android-14.0.0_r18 android-14.0.0_r19 android-14.0.0_r20 android-14.0.0_r21 android-14.0.0_r22 android-14.0.0_r23 android-14.0.0_r24 android-14.0.0_r25 android-14.0.0_r26 android-14.0.0_r27

PyYAML

A full-featured YAML processing framework for Python

Installation

To install, type python setup.py install.

By default, the setup.py script checks whether LibYAML is installed and if so, builds and installs LibYAML bindings. To skip the check and force installation of LibYAML bindings, use the option --with-libyaml: python setup.py --with-libyaml install. To disable the check and skip building and installing LibYAML bindings, use --without-libyaml: python setup.py --without-libyaml install.

When LibYAML bindings are installed, you may use fast LibYAML-based parser and emitter as follows:

>>> yaml.load(stream, Loader=yaml.CLoader)
>>> yaml.dump(data, Dumper=yaml.CDumper)

If you don't trust the input YAML stream, you should use:

>>> yaml.safe_load(stream)

Testing

PyYAML includes a comprehensive test suite. To run the tests, type python setup.py test.

Further Information

License

The PyYAML module was written by Kirill Simonov xi@resolvent.net. It is currently maintained by the YAML and Python communities.

PyYAML is released under the MIT license.

See the file LICENSE for more details.