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 details)
Built Distribution
File details
Details for the file wizconfig-1.0.2.tar.gz
.
File metadata
- Download URL: wizconfig-1.0.2.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9753f1c70eac68a336fae4e3eb3f5c3a62fe103ecf94661d631b1702f23df4c |
|
MD5 | 03134985a9c7aaae89efd553a8333913 |
|
BLAKE2b-256 | ed748ff3a76d083609dc6b560e4f424f249783966894acb7118171cd93fb3982 |
File details
Details for the file wizconfig-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: wizconfig-1.0.2-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1318c0b52ed193375183cec8bacfce4b995c02b80858494e5babc89746901693 |
|
MD5 | e28466436187f27fc2ab3fb64f1316d8 |
|
BLAKE2b-256 | df2a02c6eba2988b882459b8c4bddca90c569108d1067b86f898c1c642b77d7c |