Write once with inspection of python objects with type hinting from Python's standard library `typing` to generate a ConfigArgParser.
Project description
Typing to ConfigArgParse
Write once with inspection of type hinted python objects from Python's standard library typing to generate a ConfigArgParser. ConfigArgParser is a drop in replacement for python's argparse that supports the parsing of configuration files and environment variables in addition to argparse's command line interface. Type hinting your python objects should be enough to generate a hierarchical ConfigArgParser automtically through inspection.
If you want to generate a ConfigArgParser from your docstrings, see docstr.
Considering using typing_inspect
.
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
Built Distribution
Hashes for typing-to-configargparse-0.0.0rc0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 614e02f567ae59bb495689028d924ce551a4d76e0cd4d89b867953b153d98f3c |
|
MD5 | 67b5f8bdad609fc3a545127a84417bac |
|
BLAKE2b-256 | c6e5fcbfb00a06fcab454593c1607d628e5440983021f013542d44c5323184e4 |
Hashes for typing_to_configargparse-0.0.0rc0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6cc4821b084de82e68401abd1e7c438542c1399ccd4ebf7303e02cfb6451eacd |
|
MD5 | 492694ac0d8fd2b41c2b179643669a6b |
|
BLAKE2b-256 | 91a498db394a364158c93a3604ca95986f4078b6245fb7ef7474a45a8bf2a304 |