Skip to main content

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


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)

Uploaded Source

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

Hashes for meinkonfig-0.1.2.tar.gz
Algorithm Hash digest
SHA256 722c32f9ce63286b3f2c8b02488378ceb49bdfa5472f9da660985f9454398540
MD5 07448107d4a34d204a505d0721152e77
BLAKE2b-256 6761a991fe31535a40efbf00031770111e1f951a6a5d69975b8d02ab3634d567

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page