Contents

PyYAML 6.0.2

0

YAML parser and emitter for Python

YAML parser and emitter for Python

Stars: 2536, Watchers: 2536, Forks: 515, Open Issues: 285

The yaml/pyyaml repo was created 12 years ago and the last code push was 1 months ago.
The project is very popular with an impressive 2536 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 285 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