Basic Usages

Command line

yp-data [options] input-file-name output-file-name

Type yp-data --help for a list of options. See Command Line Reference for detail.

Python

from yamlprocessor.dataprocess import DataProcessor
processor = DataProcessor()
# ... Customise the `DataProcessor` instance as necessary ..., then:
processor.process_data(in_file_name, out_file_name)

See Python API for detail.