Reclass defines a syntax and directory structure for recursively merging YAML data sources.
Maintained. Last release 2 weeks ago, commits in 8 of the last 26 weeks. Weaker on contributor spread.
pip install reclass-rsREADME as published on PyPI with version 0.12.0.
reclass-rs: A Reclass implementation in Rust
Reclass is a library which defines a syntax and directory structure for recursively merging YAML data sources.
This repository contains a Rust implementation of Reclass which is based on the Reclass fork maintained by kapicorp.
The Reclass implementation provided in this repository can be used both from other Rust programs and in Python programs.
The reclass-rs Python module is implemented directly in Rust with PyO3.
Please note that this implementation doesn't yet support all the features and extensions which are available in Kapitan Reclass. However, for features which are implemented, we aim to be compatible with Kapitan Reclass.
The implementation currently supports the following features of Kapicorp Reclass:
- The Reclass options
nodes_pathandclasses_path - The Reclass option
ignore_class_notfound - The Reclass option
ignore_class_notfound_regexp - The Reclass option
ignore_overwritten_missing_references - Escaped parameter references
- Merging referenced lists and dictionaries
- Constant parameters
- Nested references
- By default reclass-rs uses a non-compatible mode which resolves YAML
nullvalues in nested references to string "null".
- By default reclass-rs uses a non-compatible mode which resolves YAML
- References in class names
- Loading classes with relative names
- Loading Reclass configuration options from
reclass-config.yaml - The Reclass option
componse_node_name- reclass-rs provides a non-compatible mode for
compose_node_namewhich preserves literal dots in node names
- reclass-rs provides a non-compatible mode for
- The Reclass options
class_mappingsandclass_mappings_match_path- reclass-rs transparently rewrites backreferences in mapped classes to work with Rust's
regexcrate - Users are free to use either
\\1(the Python variant) or (the native Rust variant) when using backreferences in mapped classes
- reclass-rs transparently rewrites backreferences in mapped classes to work with Rust's