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.2.tar.gz
(2.4 kB
view details)
File details
Details for the file meinkonfig-0.1.2.tar.gz.
File metadata
- Download URL: meinkonfig-0.1.2.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 |
722c32f9ce63286b3f2c8b02488378ceb49bdfa5472f9da660985f9454398540
|
|
| MD5 |
07448107d4a34d204a505d0721152e77
|
|
| BLAKE2b-256 |
6761a991fe31535a40efbf00031770111e1f951a6a5d69975b8d02ab3634d567
|