An incomplete configuration shall not pass.
Project description
wizconfig
An incomplete configuration shall not pass.
Install
pip install wizconfig
Example
class TestConfig(WizConfig):
TEST_KEY = os.getenv("TEST_KEY") # mandatory
TEST_API_KEY = os.getenv("TEST_API_KEY"), False # optional
TEST_DEBUG = os.getenv("TEST_DEBUG"), True # mandatory (verbose)
TEST_MODE = os.getenv("TEST_MODE", "DEV") # mandatory with default value
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
wizconfig-1.0.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for wizconfig-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1318c0b52ed193375183cec8bacfce4b995c02b80858494e5babc89746901693 |
|
MD5 | e28466436187f27fc2ab3fb64f1316d8 |
|
BLAKE2b-256 | df2a02c6eba2988b882459b8c4bddca90c569108d1067b86f898c1c642b77d7c |