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.1.tar.gz
(2.4 kB
view details)
File details
Details for the file meinkonfig-0.1.1.tar.gz.
File metadata
- Download URL: meinkonfig-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8f0f17215f1adf6cf2035fd4787cf298f14643fa9b5d932b6aa7880bc985226c
|
|
| MD5 |
b71765aee40d8c677937b6808c5a8ba3
|
|
| BLAKE2b-256 |
721d2a3778d93478f622ca6ae3ceac6270b3baa42c30a898c92963bf6618e4d3
|