omegaconf
A flexible configuration library
Decision gist · record as of 2026-08-14
Yes. OmegaConf is a mature, actively maintained library with no known vulnerabilities, low install friction, and a permissive license. It solves a real problem—unifying configuration from multiple sources—with a clean API. Install it if you need structured, composable configuration management.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with recent releases and no known vulnerabilities.
License · maintenance · safety
permissive license (permissive) — Permissive license allows broad use in commercial and open-source projects without significant restrictions.
last release 2026-06-11 (64 days) · last repo commit 2026-08-13 · 2,419 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 43,284,788 downloads/mo, #644 on PyPI
Alternatives
Verify before relying
pip install omegaconf
from omegaconf import OmegaConf
cfg = OmegaConf.create({'db': {'host': 'localhost'}})
print(cfg.db.host)- Whether the package handles circular references or deeply nested config structures gracefully
- Performance characteristics when merging very large configuration hierarchies
- Extent of type validation and schema enforcement capabilities
What it is and what it does
OmegaConf is a configuration management library that unifies how you load and work with settings from different sources—YAML files, Python dataclasses, dictionaries, and command-line arguments—under a single, consistent API. Instead of writing separate parsing logic for each source, you create a configuration object once and access its values through a hierarchical, dot-notation interface regardless of where the data came from.
The library depends on PyYAML and antlr4-python3-runtime for parsing and validation. It's commonly used in applications that need flexible, composable configuration without boilerplate. The package supports Python 3.6 through 3.11 and has been actively maintained since its initial release in 2018.
Use it for
- Load experiment hyperparameters from YAML and override them via command-line flags in ML training scripts
- Define application settings as dataclasses and merge environment-specific configs at runtime
- Build configuration hierarchies for microservices where different environments need different settings
- Compose modular configs from multiple YAML files without manual merging logic
- Manage nested configuration structures with consistent access patterns across different input formats
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
OmegaConf is a mature, actively maintained library with no known vulnerabilities, low install friction, and a permissive license. It solves a real problem—unifying configuration from multiple sources—with a clean API. Install it if you need structured, composable configuration management.
Install
omegaconf on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with recent releases and no known vulnerabilities.
License in practice
Permissive license allows broad use in commercial and open-source projects without significant restrictions.
Quickstart
pip install omegaconf
from omegaconf import OmegaConf
cfg = OmegaConf.create({'db': {'host': 'localhost'}})
print(cfg.db.host)
Verify before relying
- Whether the package handles circular references or deeply nested config structures gracefully
- Performance characteristics when merging very large configuration hierarchies
- Extent of type validation and schema enforcement capabilities
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.6 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesantlr4-python3-runtimePyYAMLdataclasses |
| Maintenance | Actively maintained 64 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 43,284,788 / month, #644 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: omegaconf-2.3.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “hierarchical config system”
- omegaconfOmegaConf provides a hierarchical configuration system that merges…
- configProvides hierarchical configuration management with support for…
- application-propertiesLoads and retrieves application configuration from JSON, YAML, and…
Give your agent the search over MCP, or paste the wish link into any chat.
More Software Development packages
Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.
See also hierarchical-conf · config · dep-sync · config-parser · hatch · hydra-core · pykwalify · yacman · hatchling · datafiles