skillfed

PyYAML

YAML parser and emitter for Python

pyyaml Permissive license MIT Active 2,933 v6.0.3 released

Install

pyyaml on PyPI

pip

pip install pyyaml

uv

uv add pyyaml

poetry

poetry add pyyaml

Package facts

License MIT (permissive)
Python support supports the current Python release (>=3.8)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 322 days since the last release
Last repo commit
First released
Popularity one of the 100 most-downloaded packages on PyPI (30-day window, as of 2026-08-13)
Known vulnerabilities none known (OSV.dev, checked 2026-08-13)

Evidence: pyyaml-6.0.3-cp310-cp310-macosx_10_13_x86_64.whl; pyyaml-6.0.3-cp310-cp310-macosx_11_0_arm64.whl; pyyaml-6.0.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pyyaml-6.0.3-cp310-cp310-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl; pyyaml-6.0.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pyyaml-6.0.3-cp310-cp310-musllinux_1_2_aarch64.whl; pyyaml-6.0.3-cp310-cp310-musllinux_1_2_x86_64.whl; pyyaml-6.0.3-cp310-cp310-win32.whl; pyyaml-6.0.3-cp310-cp310-win_amd64.whl; pyyaml-6.0.3-cp311-cp311-macosx_10_13_x86_64.whl; pyyaml-6.0.3-cp311-cp311-macosx_11_0_arm64.whl; pyyaml-6.0.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl; pyyaml-6.0.3-cp311-cp311-manylinux2014_s390x.manylinux_2_17_s390x.manylinux_2_28_s390x.whl; pyyaml-6.0.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.manylinux_2_28_x86_64.whl; pyyaml-6.0.3-cp311-cp311-musllinux_1_2_aarch64.whl; pyyaml-6.0.3-cp311-cp311-musllinux_1_2_x86_64.whl; pyyaml-6.0.3-cp311-cp311-win32.whl; pyyaml-6.0.3-cp311-cp311-win_amd64.whl; pyyaml-6.0.3-cp312-cp312-macosx_10_13_x86_64.whl; pyyaml-6.0.3-cp312-cp312-macosx_11_0_arm64.whl

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: CythonProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyTopic :: Software Development :: Libraries :: Python ModulesTopic :: Text Processing :: Markup

About PyYAML

from the package's own PyPI description — quoted content, verbatim

YAML is a data serialization format designed for human readability and interaction with scripting languages. PyYAML is a YAML parser and emitter for Python.

PyYAML features a complete YAML 1.1 parser, Unicode support, pickle support, capable extension API, and sensible error messages. PyYAML supports standard YAML tags and provides Python-specific tags that allow to represent an arbitrary Python object.

PyYAML is applicable for a broad range of tasks from complex configuration files to object serialization and persistence.

Read as markdown · JSON record · Source repository · Homepage · Docs

AI interpretation — verify before relying

AI-generated interpretation of the package facts above; every digit, version, license, or vulnerability id it cites is grounded in the facts already shown on this page

PyYAML parses and emits YAML 1.1 data serialization format with Unicode support, pickle support, and Python object serialization for configuration files and data persistence.

Medium install friction due to compiled C extensions; wheels provided for Python 3.8–3.14 across macOS, Linux, Windows, and ARM architectures. Maintenance is active with latest release 2025-09-25 and ongoing repository activity.

MIT license is permissive, allowing commercial and private use with minimal restrictions—only attribution required.

Usage

pip install pyyaml==6.0.3

Requires Python >=3.8

Verdict: PyYAML is a mature, actively maintained top-100 package with no known vulnerabilities and broad Python version support (3.8–3.14). Medium install friction from compiled extensions is offset by comprehensive platform coverage and production-stable classification.

Needs verification

  • Whether unsafe_load() or arbitrary object deserialization poses security risks in typical deployment contexts
  • Performance characteristics compared to alternative YAML parsers for large or deeply nested documents
  • Specific use cases where the capable extension API provides advantage over standard YAML parsing
yaml parser pythonyaml serializationconfiguration file parsingyaml emitterpython object serializationyaml 1.1 parserhuman readable data format

Similar packages