Generates a config and an argument parser from a yaml file


License
MIT
Install
pip install PyConfigMaker==1.3

Documentation

PyConfigMaker

PyPI

A tiny package which automatically builds config objects and an argument parser from yaml script

PyPi Github

A short usage example:

from sys import argv
from config_parser import config_parser

parser = config_parser.ConfigGenerator('sample_data/example.yml')
parsed = parser(argv[1:])
print(parsed)
print(parsed.PATHS.model_save_path)
parser.dump_config('test/test.yml')