--- id: aspy-yaml version: "1.3.0" license: MIT license_treatment: permissive maintenance: abandoned --- # aspy.yaml — A few extensions to pyyaml. License: permissive · Maintenance: abandoned · Downloads: 165.9K/mo ## What it is and what it does aspy.yaml wraps pyyaml to provide ordered_load and ordered_dump functions that preserve the order of dictionary keys when reading and writing YAML. This is useful when you need YAML files to maintain a specific key sequence, which matters for human readability or when order carries semantic meaning in your configuration format. The package depends only on pyyaml and installs as a pure-Python wheel with low friction. However, it has been archived and unmaintained since 2020. You should verify whether this package remains necessary for your use case before adopting it. Use it for: - Load YAML configuration files and preserve the order of top-level keys for reproducible output. - Dump OrderedDict objects back to YAML while maintaining the insertion order of keys. - Integrate with codebases that rely on ordered YAML semantics and cannot upgrade. - Generate YAML with a specific key order for consistency or readability. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Provides order-preserving YAML loading and dumping functions that extend pyyaml to maintain dictionary key order when reading and writing YAML files. No. The package is archived and abandoned since 2020 with no maintenance. Only install if you have a specific legacy dependency and are prepared to maintain a fork or migrate to an alternative. ## Install pip install aspy-yaml uv add aspy-yaml poetry add aspy-yaml ## Installing aspy.yaml Before you install: Low install friction with a single pure-Python dependency. However, the package is archived and abandoned since 2020, with no maintenance activity for over 2640 days. License in practice: MIT license is permissive and imposes no restrictions on use, modification, or distribution in proprietary or open-source projects. Quickstart: pip install aspy.yaml from aspy.yaml import ordered_load ordered_load('foo: bar\nbar: baz\nherp: derp\n') Verify before relying: - Whether modern Python versions and current pyyaml releases remain compatible with this unmaintained package. - Whether built-in dict ordering reduces the need for this extension in contemporary codebases. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: abandoned - Downloads: 165.9K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags yaml ordered dictionary, preserve yaml key order, ordered yaml load dump, pyyaml extensions, yaml dict ordering, maintain yaml order, yaml, archived, legacy [View on SkillFed](https://skillfed.io/packages/aspy-yaml) · [View on PyPI](https://pypi.org/project/aspy-yaml/)