Data & Storage · zero-dependency · MIT

larzyaml

A practical YAML subset.

Loads and dumps a practical, safe subset of YAML with no dependency — enough for configuration and data files without pulling in a heavy parser.

larzscript pkg install yaml
View on GitHub →Learn the stack

What you get

Try it

import "yaml" as yaml
let data = yaml.parse("name: Ada\nage: 36\ntags:\n  - dev\n  - admin\n")
print(data)
print(yaml.stringify(data))
Output
{name: Ada, age: 36, tags: [dev, admin]}
name: Ada
age: 36
tags:
  - dev
  - admin

Why it's in the Larz Stack

larzyaml is a real Larzscript package (larzscript pkg install yaml) - money-native, zero dependencies, the same language as the rest of the estate, not a separate Python runtime. It composes with the rest of the Larz Stack and the Larz framework.