Skip to content

mrkram/ccorp_yaml_include

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CCorp Ruamel.YAML Include Extension

This package is exactly ccorp-yaml-include package(a fork of ccorp-yaml-include) that contains a bug fix (init of YAML didn't accept a 'typ' kwargs that was a list) It also allows to use !include tag with a relative path for aliases, e.g. instead of just writing:
!include bear_common.yaml
(which means that bear_common.yaml should be located in the same directory as your yaml file)

you can have:
!include ../common_data/bear_common.yaml
(which means that bear_common.yaml in now located in a separate folder 'common_data')

  • version 0.0.4: a bug related to ExcludingConstructor.construct_sequence() method to miss a parameter called 'deep', fixed.
  • version 0.1.0: created function dumps for dumping YAML to string, added encoding='utf8' in open function, typ parameters are listed (typ = 'safe' -> typ = ['safe'])

GitHub link: https://github.com/mrkram/ccorp_yaml_include

It is fork of https://github.com/marsoloGit/ccorp_yaml_include.

First original repo is https://github.com/Tristan-Sweeney-CambridgeConsultants/ccorp_yaml_include.

About

Ruamel.YAML parser plugin to !include files at composition time, preserving anchors.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Jupyter Notebook 56.3%
  • Python 43.7%