This project provides a simple utility for working with YAML files, process include files, substitute string with variable and date-time values, and validate against JSON schema.
To install from PyPI, run:
python3 -m pip install yamlprocessor
Command line usage:
yp-data [options] input-file-name output-file-name
Python usage:
from yamlprocessor.dataprocess import DataProcessor
processor = DataProcessor()
# ... Customise the `DataProcessor` instance as necessary ..., then:
processor.process_data([in_file_name], out_file_name)
See User Guide for detail.