Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 526 Bytes

README.md

File metadata and controls

16 lines (11 loc) · 526 Bytes

pyyaml-keep-anchors

Keep anchor references when parsing yaml files

Purpose

This YAML utils allow to parse YAML while keeping track of alias resolutions. Since aliases contain useful meta-infos we want to expose them For the moment we support only keeping anchor names on sequences and mappings. If you need to solve other anchors feel free to extend. You just need to add methods co AliasResolverYamlConstructor

Contribute at https://github.com/matchaxnb/pyyaml-keep-anchors

Example

python -m example.example # :-)