Metadata-Version: 2.4
Name: serve-sc-utils
Version: 0.0.2
Summary: dotenvyaml — load environment variables from .env.yaml / .env.yml files. Public component of the privately-distributed serve-sc-utils toolkit.
Author: Ravi Guntakala
License: MIT
License-File: LICENSE
Keywords: configuration,dotenv,dotenvyaml,environment,yaml
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Software Development :: Libraries
Requires-Python: >=3.10
Requires-Dist: pyyaml>=6.0
Description-Content-Type: text/markdown

# serve-sc-utils

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

## Install

```bash
pip install serve-sc-utils
```

## Usage

```python
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`.