Skip to content

Process YAML files, handling sub-data-structure include and string value variable substitution

License

Notifications You must be signed in to change notification settings

JCSDA-internal/yamlprocessor

Repository files navigation

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.

About

Process YAML files, handling sub-data-structure include and string value variable substitution

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages