Contents

PyYAML 6.0.1

0

YAML parser and emitter for Python

YAML parser and emitter for Python

Stars: 2434, Watchers: 2434, Forks: 492, Open Issues: 283

The yaml/pyyaml repo was created 12 years ago and the last code push was 4 weeks ago.
The project is very popular with an impressive 2434 github stars!

How to Install pyyaml

You can install pyyaml using pip

pip install pyyaml

or add it to a project with poetry

poetry add pyyaml

Package Details

Author
Kirill Simonov
License
MIT
Homepage
https://pyyaml.org/
PyPi:
https://pypi.org/project/PyYAML/
Documentation:
https://pyyaml.org/wiki/PyYAMLDocumentation
GitHub Repo:
https://github.com/yaml/pyyaml

Classifiers

  • Software Development/Libraries/Python Modules
  • Text Processing/Markup
No  pyyaml  pypi packages just yet.

Errors

A list of common pyyaml errors.

Code Examples

Here are some pyyaml code examples and snippets.

GitHub Issues

The pyyaml package has 283 open issues on GitHub

  • dump with encoding="utf8" produces "latin"-encoded bytes
  • Octal numbers processed as strings
  • WIP: Attempt to get pyyaml to build with cython 3.0
  • Request: musllinux wheel
  • Correct usage of .add_path_resolver
  • PyYAML 5.3 & 6.0 – RecursionError: maximum recursion depth exceeded in comparison
  • WIP keep PyYAML build working on Cython3.0.0a10+
  • "AttributeError: cython_sources" with Cython 3.0.0a10
  • Change License year to 2022
  • Update representer.py
  • cannot import name 'CLoader' from 'yaml'
  • Add strict_whitespace implementation for cleaner multiline scalars
  • Remove some commented code.
  • Parsing of trailing TAB works differently for Python and C
  • Clarify that YAML 1.2 is not supported

See more issues on GitHub