import yaml
from pathlib import Path

def load_config(config_path="src/config.yaml"):
    with open(config_path, "r") as f:
        return yaml.safe_load(f)

# Usage example:
# CFG = load_config()
# print(CFG['api']['base_url'])