Skip to main content

dotenvyaml — load environment variables from .env.yaml / .env.yml files. Public component of the privately-distributed serve-sc-utils toolkit.

Project description

serve-sc-utils

dotenvyaml — load environment variables from a .env.yaml / .env.yml file, like python-dotenv but for YAML.

Install

pip install serve-sc-utils

Usage

from dotenvyaml import load_dotenvyaml

load_dotenvyaml()                  # reads ./.env.yaml (or ./.env.yml)
load_dotenvyaml("config.yaml")     # or an explicit path
load_dotenvyaml(override=True)     # replace existing env vars (default: keep them)

Returns the dict of values it loaded and sets them in os.environ.

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

serve_sc_utils-0.0.2.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

serve_sc_utils-0.0.2-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file serve_sc_utils-0.0.2.tar.gz.

File metadata

  • Download URL: serve_sc_utils-0.0.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for serve_sc_utils-0.0.2.tar.gz
Algorithm Hash digest
SHA256 2b9f24bc9c349b7ab49907c6709613865e6bf192e886c6588bba79488452f093
MD5 0dce552ecd75355cc26705a88f742b86
BLAKE2b-256 74e99fcf71eb64886f2fa67026b457783ee90b046aacbed2fd389a9d62c66259

See more details on using hashes here.

File details

Details for the file serve_sc_utils-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: serve_sc_utils-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.7 {"installer":{"name":"uv","version":"0.11.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for serve_sc_utils-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7dd3233efa10931a92486b602335481ccdcc03d84c2e8946c3d53804e11f79cc
MD5 a40c9f306bb825c5cae9dac9af9ced71
BLAKE2b-256 da50df8e6bb4be887159f74f22196c59f5f796d4c7e4548434ee556599e61ba3

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