Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 701 Bytes

File metadata and controls

32 lines (22 loc) · 701 Bytes

YAML Processor

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.

Quick Start

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)

Documentation

See User Guide for detail.