skillfed

yaml-config

Python client for reading yaml based config files

yaml-config v0.1.5 2.2M downloads/30d#3,249 on PyPI5
License unclear Abandoned released

What it is and what it does

yaml-config provides a simple Config class that wraps PyYAML to load and retrieve configuration variables from YAML files. You subclass it to define default file paths and configuration roots, then instantiate and call get() to retrieve values with optional defaults. It supports environment variable overrides through a configurable prefix (e.g., GBR_CONFIG_ROOT, GBR_CONFIG_DIR) to point to config file locations.

The package is designed for straightforward YAML-based configuration management in Python applications. It handles basic use cases like loading a config file once at startup and retrieving typed values throughout your application, but it is no longer maintained—the last release was in June 2020, and there have been no updates since.

Use it for:

  • Load application settings from a YAML file at startup and retrieve them throughout the app lifecycle.
  • Override config file paths via environment variables in containerized or multi-environment deployments.
  • Subclass Config to define application-specific defaults and configuration roots in a single place.
  • Migrate legacy applications from hardcoded or ad-hoc config parsing to a structured YAML-based approach.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Reads configuration from YAML files and provides a Config class to retrieve configuration variables, with support for environment variable overrides and custom defaults.

No. The package is abandoned (last release June 2020, no commits since), and its license status is unclear. For new projects, use a maintained alternative like python-dotenv, pydantic-settings, or dynaconf. Only consider it if you are maintaining legacy code that already depends on it and cannot migrate.

Install

yaml-config on PyPI

pip

pip install yaml-config

uv

uv add yaml-config

poetry

poetry add yaml-config

Installing yaml-config

Before you install

Low install friction with only two runtime dependencies (PyYAML and typing). However, the package is abandoned—last release was 2020-06-22, over four years ago, with no recent maintenance activity.

License in practice

License treatment is unclear; the description mentions MIT licensing but the metadata lacks a formal SPDX identifier or raw license string, creating ambiguity about actual license terms.

Quickstart

pip install yaml-config

from yaml_config import Config

class MyConfig(Config):
    default_file = 'config.yaml'

config = MyConfig()
value = config.get('key', default='fallback')

Verify before relying

  • Whether the package works reliably with Python versions beyond 3.8 despite being abandoned since 2020.
  • Whether PyYAML dependency updates have introduced breaking changes to the package's behavior.

Package facts

License not declared (unclear)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies 2 — PyYAML, typing
Maintenance abandoned — 2,244 days since the last release
Last repo commit
First released
Downloads 2,151,083/month — #3,249 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: yaml_config-0.1.5-py2.py3-none-any.whl

Keywords: yaml, config, pyyaml

Development Status :: 5 - Production/StableIntended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8

Tags

yaml config file readerpython yaml configurationconfig management yamlenvironment variable configyaml settings loaderconfiguration from yaml files
config-managementabandoned

More Utilities packages