oslo.config
Oslo Configuration API
Decision gist · record as of 2026-08-14
Yes. Oslo.config is a mature, actively maintained library with low install friction, no security vulnerabilities, and permissive licensing. It is well-suited for applications that need flexible configuration from multiple sources. Install it if you are building OpenStack services or any Python application requiring robust command-line and file-based configuration management.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Low friction installation with a pure-Python wheel.
- Active maintenance with a release within the last week.
License · maintenance · safety
Apache-2.0 (permissive) — Apache License 2.0 (permissive) — free to use, modify, and distribute in commercial and open-source projects with minimal restrictions.
last release 2026-08-07 (7 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,754,255 downloads/mo, #3,588 on PyPI
Alternatives
Verify before relying
pip install oslo.config
from oslo_config import cfg
CONF = cfg.CONF
CONF.register_opt(cfg.StrOpt('name', default='example'))
CONF(['--name', 'myapp'])- Whether the library's plugin system (stevedore) integration is documented with examples.
- Performance characteristics when parsing large configuration files or many command-line arguments.
What it is and what it does
Oslo.config is a configuration library originally developed for OpenStack but usable by any Python application. It provides a unified API for defining, parsing, and managing configuration from both command-line arguments and .ini-style configuration files. The library handles type validation, default values, and option registration through a declarative interface.
The package depends on six runtime libraries: netaddr for network address handling, stevedore for plugin management, oslo.i18n for internationalization, rfc3986 for URI parsing, PyYAML for YAML support, and requests for HTTP operations. It is actively maintained, supports Python 3.11 through 3.14, and carries no known security vulnerabilities.
Use it for
- Define and parse configuration options for OpenStack services or other distributed applications.
- Load application settings from both command-line flags and .ini configuration files in a single unified interface.
- Manage plugin-based configuration through stevedore integration for extensible applications.
- Validate and type-check configuration values at parse time to catch errors early.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
Oslo.config is a mature, actively maintained library with low install friction, no security vulnerabilities, and permissive licensing. It is well-suited for applications that need flexible configuration from multiple sources. Install it if you are building OpenStack services or any Python application requiring robust command-line and file-based configuration management.
Install
oslo-config on PyPI
Before you install
Low friction installation with a pure-Python wheel. Active maintenance with a release within the last week. Requires Python 3.11 or later.
Requires Python 3.11 or later.
License in practice
Apache License 2.0 (permissive) — free to use, modify, and distribute in commercial and open-source projects with minimal restrictions.
Quickstart
pip install oslo.config
from oslo_config import cfg
CONF = cfg.CONF
CONF.register_opt(cfg.StrOpt('name', default='example'))
CONF(['--name', 'myapp'])
Verify before relying
- Whether the library's plugin system (stevedore) integration is documented with examples.
- Performance characteristics when parsing large configuration files or many command-line arguments.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesnetaddrstevedoreoslo.i18nrfc3986PyYAMLrequests |
| Maintenance | Actively maintained 7 days since the last release |
| First released | |
| Downloads | 1,754,255 / month, #3,588 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: OpenStackIntended Audience :: DevelopersIntended Audience :: Information TechnologyOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTyping :: Typed |
Evidence: oslo_config-10.7.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
An agent finds packages by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language. Give your agent the search over MCP.
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 oslo.log · oslo.vmware · INITools · oslo.reports · oslo.utils · pbr · oslotest · oslo.db · oslo.rootwrap · oslo.context