An extension of ruamel.yaml to support including aliases
CCorp Ruamel.YAML Include Extension
This package extends Ruamel.YAML (a fork of PyYaml) to implement the
!include tag in the composer, which allows the use of YAML anchors across included files. The prior way of achiving this required modifying the structure of files to invert the inclusion of files, and modifying the loading of the included file to patch in the anchors parsed thusfar. Unfortunately, this isn't possible on an existing collection of YAML files without a lot of pushback from other developers, and therefore this package was developed. It processes
!include tags as they are encountered by the composer rather than generating a tagged scalar to be processed by the constructor, allowing the processing to happen as a C/C++ programmer would expect, rather than defering until after composition.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size ccorp_yaml_include-0.0.2-py3-none-any.whl (4.2 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size ccorp-yaml-include-0.0.2.tar.gz (3.0 kB)||File type Source||Python version None||Upload date||Hashes View hashes|
Hashes for ccorp_yaml_include-0.0.2-py3-none-any.whl