pyyaml
« Back to VersTracker
Description:
YAML framework for Python
Type: Formula  |  Tracked Since: Dec 3, 2024
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python yaml serialization configuration parsing
Install: brew install pyyaml
About:
PyYAML is a full-featured YAML parser and emitter for Python that implements the YAML 1.1 specification. It provides a Pythonic interface for parsing YAML documents into native Python objects (like dictionaries and lists) and serializing Python objects back into YAML format. Its main value is enabling easy configuration management and data serialization for Python applications.
Key Features:
  • Full YAML 1.1 specification support
  • Safe loading of untrusted data via `safe_load`
  • Integration with Python's native data types
  • Support for custom Python object serialization
  • Cross-platform compatibility
Use Cases:
  • Parsing configuration files (e.g., YAML configs for DevOps tools)
  • Serializing and deserializing data for APIs or data pipelines
  • Managing application settings and metadata in Python projects
Alternatives:
  • ruamel.yaml – More actively maintained, supports YAML 1.2, and preserves comments/formatting
  • oyaml – A drop-in replacement that preserves order of dictionaries
Version History
Detected Version Rev Change Commit
Dec 3, 2024 8:18pm 1 VERSION_BUMP a99000de
Sep 12, 2024 4:29pm 1 VERSION_BUMP ea4efe22