osc-lib
OpenStackClient Library
Decision gist · record as of 2026-08-14
Yes, if you are building OpenStackClient plugins or CLI tools for OpenStack. The library is actively maintained, has no known vulnerabilities, and low install friction. It is not a general-purpose package—install it only as a dependency for OSC plugin development or when explicitly required by OpenStack tooling.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later; designed for building OSC plugins rather than standalone CLI use.
- Low install friction with a pure-Python wheel distribution.
- Actively maintained with a release 35 days ago.
License · maintenance · safety
Apache-2.0 (permissive) — Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and license inclusion.
last release 2026-07-10 (35 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 868,244 downloads/mo, #4,852 on PyPI
Alternatives
Verify before relying
pip install osc-lib
from osc_lib.command import command
from osc_lib.utils import columns
class MyCommand(command.Command):
pass- Whether osc-lib is suitable for direct end-user CLI use or primarily intended as a plugin/framework dependency for OpenStackClient extensions
What it is and what it does
osc-lib is a library extracted from OpenStackClient that provides reusable components for building OpenStack command-line tools and plugins. It bundles common modules for authentication, command handling, API interaction, logging, and CLI utilities that were previously embedded in the main OpenStackClient codebase.
Developers use osc-lib to write OSC plugins or standalone CLI tools that need to interact with OpenStack APIs. It abstracts away authentication (via keystoneauth1), session management, command framework scaffolding (via cliff), and common utilities, so plugin authors can focus on their specific command logic rather than reinventing OpenStack integration plumbing.
Use it for
- Writing custom OpenStackClient plugins that extend the base OSC command set for domain-specific operations
- Building standalone command-line tools that need OpenStack API authentication and session handling without reimplementing it
- Migrating code from the main OpenStackClient repository to a shared plugin architecture using osc-lib's common modules
- Implementing CLI commands that leverage osc-lib's command framework and argument parsing utilities
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building OpenStackClient plugins or CLI tools for OpenStack.
The library is actively maintained, has no known vulnerabilities, and low install friction. It is not a general-purpose package—install it only as a dependency for OSC plugin development or when explicitly required by OpenStack tooling.
Install
osc-lib on PyPI
Before you install
Low install friction with a pure-Python wheel distribution. Actively maintained with a release 35 days ago. Requires Python 3.11 or later and depends on established OpenStack libraries (keystoneauth1, openstacksdk) and common utilities (cliff, stevedore, oslo packages).
Requires Python 3.11 or later; designed for building OSC plugins rather than standalone CLI use.
License in practice
Licensed under Apache 2.0 (permissive), allowing use in commercial and proprietary projects with minimal restrictions beyond attribution and license inclusion.
Quickstart
pip install osc-lib
from osc_lib.command import command
from osc_lib.utils import columns
class MyCommand(command.Command):
pass
Verify before relying
- Whether osc-lib is suitable for direct end-user CLI use or primarily intended as a plugin/framework dependency for OpenStackClient extensions
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagescliffkeystoneauth1openstacksdkoslo.i18noslo.utilspbrrequestsstevedore |
| Maintenance | Actively maintained 35 days since the last release |
| First released | |
| Downloads | 868,244 / month, #4,852 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 :: DevelopersOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: osc_lib-4.7.0-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 › “osc plugin framework”
- osc-libosc-lib provides a shared library of common modules and utilities for…
- osc-placementProvides a command-line interface to the OpenStack Placement service…
- python-oscpython-osc implements Open Sound Control (OSC) servers and clients in…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
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.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
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.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also osc-placement · python-openstackclient · python-swiftclient · python-octaviaclient · python-zaqarclient · os-client-config · python-troveclient · python-heatclient · python-neutronclient · python-glanceclient