--- id: yamlable version: "1.1.1" license: BSD 3-Clause license_treatment: permissive maintenance: abandoned --- # yamlable — A thin wrapper of PyYaml to convert Python objects to YAML and back. License: permissive · Maintenance: abandoned · Downloads: 83.2K/mo ## What it is and what it does yamlable is a thin wrapper around PyYaml that simplifies converting Python objects to YAML format and back. Instead of manually writing custom serialization logic for each class, you can use yamlable to handle the conversion automatically, treating YAML as a codec for your Python objects. It depends on PyYaml for the underlying YAML parsing and six for Python 2/3 compatibility. The package is stable and permissively licensed, but it has been abandoned since July 2022 with no recent maintenance. If your codebase relies on Python 3.9 or earlier and your YAML needs are straightforward, it may work, but you should be aware that no updates or bug fixes will be released. The low install friction and small dependency footprint make it easy to add, but the lack of ongoing maintenance is a significant consideration for new projects. Use it for: - Serialize custom Python dataclasses or objects to YAML configuration files for easy human editing and version control - Load YAML-based configuration files directly into typed Python objects without manual parsing boilerplate - Build object-oriented plugins or codecs where YAML serves as the interchange format between components - Export Python object hierarchies to YAML for debugging, logging, or data export workflows ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Converts Python objects to YAML and back using PyYaml as its underlying engine, allowing you to serialize and deserialize custom Python classes directly to and from YAML format. Yes, but with conditions. Install if you need straightforward YAML serialization of Python objects and are working with Python 3.9 or earlier. The low install friction, permissive license, and lack of known vulnerabilities make it safe to add. However, do not install for new projects expecting ongoing maintenance or support—the package is abandoned and will not receive updates. For production systems requiring long-term stability, consider whether a maintained alternative or hand-rolled serialization logic would be more appropriate. ## Install pip install yamlable uv add yamlable poetry add yamlable ## Installing yamlable Before you install: Low install friction with only two lightweight runtime dependencies (PyYaml and six). However, the package is abandoned—last updated 2022-07-06, over 1500 days ago—so no maintenance or bug fixes are forthcoming. License in practice: BSD 3-Clause permissive license allows commercial and private use with minimal restrictions, requiring only that you retain the license notice. Quickstart: pip install yamlable import yamlable # Convert a Python object to YAML yaml_string = yamlable.dump(my_object) # Load YAML back into a Python object my_object = yamlable.load(yaml_string) Verify before relying: - Whether the package works reliably with Python versions beyond 3.9 (last tested version in classifiers) - Whether PyYaml security updates are automatically inherited or if yamlable requires explicit updates - Real-world compatibility with modern YAML edge cases or complex nested object hierarchies ## Package facts - License: BSD 3-Clause (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 83.2K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags python object to yaml serialization, yaml deserialization python objects, pyaml wrapper custom classes, yaml codec for python, object oriented yaml parsing, yaml-serialization, abandoned [View on SkillFed](https://skillfed.io/packages/yamlable) · [View on PyPI](https://pypi.org/project/yamlable/)