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)
parser.dump_config('test/test.yml')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
PyConfigMaker-0.4.tar.gz
(2.6 kB
view hashes)
Built Distribution
Close
Hashes for PyConfigMaker-0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c151c4e80b8fc201f5c9f62740727998d27ef13bc13cb08dcd2d0cfdb6458042 |
|
MD5 | 9dff2d0fae5c0621a11c8b5940249f02 |
|
BLAKE2b-256 | 6b326d8e48235580089c93ca70ad084433c120f01e7783b1526d4d69e115df89 |