ZOYKU火线榜

hydra-ecosystem/omegaconf技术文档

Flexible Python configuration system. The last one you will ever need.

多语言回退提示:当前仓库原作者暂未发布本地化文档,已为您无缝切换至官方英文原版(English),排版及代码实例完整保真。
极速安装
pip install omegaconf

OmegaConf

Description
Project PyPI versionDownloadsPython
Code quality CircleCICoverage Status
Docs, support, and ecosystem Documentation StatusBinderZulip chatecosystem: cli.dev
Backlog Backlog Atlas dashboard

OmegaConf is a hierarchical configuration system, with support for merging configurations from multiple sources (YAML config files, dataclasses/objects and CLI arguments) providing a consistent API regardless of how the configuration was created.

Legacy documentation is retained on Read the Docs, with its sources under legacy/rtd/.

Optional subprojects

  • omegaconf-pydevd: optional pydevd debugger plugin for inspecting OmegaConf objects in supported debuggers.

Releases

Stable (2.4)

OmegaConf 2.4.0 is the current stable version and requires Python 3.10 or newer. Released on October 9, 2026, it adds richer structured config typing, experimental tuples, and improvements to interpolation, resolvers, merging, and validation. Read the release announcement and review the upgrade guide before upgrading from 2.3.

Install with pip install --upgrade omegaconf

Previous stable (2.3)

OmegaConf 2.3 is retained for projects that require the earlier release.

Install with pip install 'omegaconf<2.4'

文档镜像归档自 GitHub 官方源路径 · 访问原项目 GitHub
最后同步快照:2026-11-09