skillfed

yamlable

A thin wrapper of PyYaml to convert Python objects to YAML and back.

yamlable v1.1.1 83.2K downloads/30d#14,088 on PyPI33
Permissive license BSD 3-Clause Abandoned released

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 on this page — 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

yamlable on PyPI

pip

pip install yamlable

uv

uv add yamlable

poetry

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 not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — PyYaml, six
Maintenance abandoned — 1,500 days since the last release
Last repo commit
First released
Downloads 83,241/month — #14,088 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: yamlable-1.1.1-py2.py3-none-any.whl

Keywords: yaml, file, parsing, parse, load, dump, read, write, object, oo, oriented, codec, format, plugin, pyYaml

Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Topic :: Software Development :: Libraries :: Python Modules

Tags

python object to yaml serializationyaml deserialization python objectspyaml wrapper custom classesyaml codec for pythonobject oriented yaml parsing
yaml-serializationabandoned

More Python Modules packages