Generates a config and an argument parser from a yaml file
Project description
PyConfigMaker
A tiny package which automatically builds config objects and an argument parser from yaml script
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')
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size PyConfigMaker-1.4-py3.8.egg (6.6 kB) | File type Egg | Python version 3.8 | Upload date | Hashes View hashes |
Filename, size PyConfigMaker-1.4-py3-none-any.whl (4.4 kB) | File type Wheel | Python version py3 | Upload date | Hashes View hashes |
Filename, size PyConfigMaker-1.4.tar.gz (3.2 kB) | File type Source | Python version None | Upload date | Hashes View hashes |
Close
Hashes for PyConfigMaker-1.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 981b62e3a42cec2e9f425d89c8380397262f48ca163fbd490e223fb15682ae77 |
|
MD5 | ad8f2b3c7c1f457b0216a1479f15a56d |
|
BLAKE2-256 | 1f70aaaf2665e6372506c5e9b8a98c5d8878a035b95e66c392fa70b0f2818c31 |