clipppy.yaml

Submodules

Package Contents

class clipppy.yaml.ClipppyYAML(base_dir: Union[os.PathLike, AnyStr] = None, interpret_as_Clipppy=True)
constructor :constructor.ClipppyConstructor
resolver :resolver.ClipppyResolver
_load_file(self, loader: Callable, *args, **kwargs)
static eval(loader: constructor.ClipppyConstructor, node: ruamel.yaml.Node)
load(self, path_or_stream: Union[os.PathLike, str, TextIO], force_templating=True, scope: Union[Mapping[str, Any], types.FrameType] = None, **kwargs)

at this point you either have the non-pure Parser (which has its own reader and scanner) or you have the pure Parser. If the pure Parser is set, then set the Reader and Scanner, if not already set. If either the Scanner or Reader are set, you cannot use the non-pure Parser,

so reset it to the pure parser and set the Reader resp. Scanner if necessary

npy(self, *args, **kwargs)
npz(self, fname: str, key: str = None, **kwargs) numpy.ndarray
pt(self, fname: str, key: str = None, **kwargs)
trace(self, fname, key: Union[str, Iterable[str]], **kwargs)
txt(self, *args, **kwargs)