safe-ruamel

A proxy class for ruamel.yaml.YAML that bypass the thread safety issue.


Keywords
python, yaml, safe-yaml, ruamel
License
MIT
Install
pip install safe-ruamel==0.1.6

Documentation

Safe ruamel.yaml

A proxy class for ruamel.yaml.YAML that bypass the thread-safe issue.


Usage

from safe_ruamel import YAML

yaml = YAML()

obj = yaml.load("a: 1")
print(yaml.dump(obj).read())