YAML config reader
Project description
Usage example
You can use .env $ENVVARIABLE variables in a YAML file. They will be automatically replaced with environment variables.
from meinkonfig import Konfig
cfg = Konfig("configfiles/", "config.yaml")
cfg.load_konfig()
print(cfg.config.env)
Output:
ENVTEST
YAML configuration file:
env: $TEST
.env file:
TEST="ENVTEST"
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
meinkonfig-0.1.0.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file meinkonfig-0.1.0.tar.gz.
File metadata
- Download URL: meinkonfig-0.1.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
280adf65d448410a6056020b52d025d74c56512b59aec49e9fee188245482582
|
|
| MD5 |
514a0af621db1c6602690ef6213c6a6f
|
|
| BLAKE2b-256 |
0f37e2fed4867cfc602b1cab18a878860701f19e0a9ae2027db3b5d45a472fc4
|
File details
Details for the file meinkonfig-0.1.0-py3-none-any.whl.
File metadata
- Download URL: meinkonfig-0.1.0-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
98be6aac1ca17cd4788d074d5a91a1d4e1bb469be94058162f95bd3b31c3f1cc
|
|
| MD5 |
eec76d58c7cc8fa377d5c5169ccaa7a5
|
|
| BLAKE2b-256 |
39c9b539eb1eefcb56aa7b3d89d7aa7e0765ada766f7559efec5fd5633e67ea8
|