PyYAML (LADI project)
Go to file
sblondon 6549385d53 Add use of safe_load() function in README (#285)
It helps people to use `safe_load` if they discover the library.
It's more secure if `safe_load()` is used by default, and `load()` is used if it's necessary (and the developer knows what is does).
2019-12-07 22:44:29 +01:00
examples Fix typos 2017-08-08 06:05:28 -05:00
ext Fix typos 2017-08-08 06:05:28 -05:00
lib/yaml Allow add_multi_constructor with None (#358) 2019-12-07 22:40:48 +01:00
lib3/yaml Allow add_multi_constructor with None (#358) 2019-12-07 22:40:48 +01:00
packaging/build Windows build tweaks 2019-11-27 23:00:21 +01:00
tests Allow add_multi_constructor with None (#358) 2019-12-07 22:40:48 +01:00
.appveyor.yml Fix appveyor.yml to use libyaml tag not branch 2019-12-03 23:36:50 +01:00
.gitignore Windows Appveyor build 2019-03-12 16:22:31 -07:00
.travis.yml Travis CI: Test on Python 3.8 production release 2019-12-03 23:38:13 +01:00
CHANGES Version 5.2 2019-12-02 21:13:24 +01:00
LICENSE Updates for 5.1 release 2019-03-13 08:45:34 -07:00
MANIFEST.in scanner: use infinitive verb after auxiliary word could 2015-04-04 13:25:24 -03:00
Makefile Changes for 4.1 release 2018-06-26 15:08:15 -07:00
README Add use of safe_load() function in README (#285) 2019-12-07 22:44:29 +01:00
announcement.msg Version 5.2 2019-12-02 21:13:24 +01:00
setup.cfg Squash/merge pull request #105 from nnadeau/patch-1 2019-03-08 09:09:48 -08:00
setup.py fixup! setup.py: python_requires='!=3.4.*', 2019-12-03 23:38:13 +01:00
tox.ini tox.ini: Add py38 and remove py34 2019-12-03 23:38:13 +01:00

README

PyYAML - The next generation YAML parser and emitter for Python.

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 stream, you should use:

    >>> yaml.safe_load(stream)

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

For more information, check the PyYAML homepage:
'https://github.com/yaml/pyyaml'.

For PyYAML tutorial and reference, see:
'http://pyyaml.org/wiki/PyYAMLDocumentation'.

Discuss PyYAML with the maintainers in IRC #pyyaml irc.freenode.net.

You may also use the YAML-Core mailing list:
'http://lists.sourceforge.net/lists/listinfo/yaml-core'.

Submit bug reports and feature requests to the PyYAML bug tracker:
'https://github.com/yaml/pyyaml/issues'.

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.