os-resource-classes
Resource Classes for OpenStack
What it is and what it does
os-resource-classes is a small library that exports standardized symbols representing OpenStack resource inventory types—such as VCPU and DISK_GB—as uppercase constants with underscores. These symbols are intended to be used by OpenStack tools and deployments to refer to common resource types in a consistent way. The package also documents the concept of custom resource classes, which begin with a CUSTOM_ prefix and are created via the OpenStack placement API.
The package is a simple reference collection with minimal runtime dependencies (only pbr). It is designed for use within OpenStack ecosystem tools and cloud management code that needs to reference standard resource types. However, it has been abandoned since mid-2021 and receives no active maintenance or updates.
Use it for:
- Reference standard OpenStack resource class names in placement API client code.
- Build cloud inventory management tools that need to enumerate standard resource types.
- Validate or normalize resource class strings in OpenStack deployment automation.
- Document expected resource types in OpenStack-aware applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides a standardized collection of resource class symbols for OpenStack deployments, representing distinct inventory types like VCPU and DISK_GB.
Yes, if you are working within an existing OpenStack deployment and need a stable reference for standard resource class symbols. The package is lightweight, has no known vulnerabilities, and the resource classes it defines are unlikely to change. However, be aware it is abandoned—do not expect bug fixes or updates if OpenStack's resource class definitions evolve. For new projects, verify that the resource classes exported match your target OpenStack version.
Install
os-resource-classes on PyPI
pip
pip install os-resource-classesuv
uv add os-resource-classespoetry
poetry add os-resource-classesInstalling os-resource-classes
Before you install
Low install friction with a single lightweight dependency (pbr). However, the package is abandoned—last release was 2021-07-15, over 1856 days ago. No active maintenance or security updates should be expected.
License in practice
Licensed under Apache (permissive), which allows broad use and modification with minimal restrictions. No licensing barrier to adoption.
Quickstart
pip install os-resource-classes
from os_resource_classes import VCPU, DISK_GB
print(VCPU, DISK_GB)
Requires Python 3.6 or later; package is abandoned and receives no updates.
Verify before relying
- Whether the standardized resource classes in this package remain current with modern OpenStack deployments.
- Whether custom resource class support via CUSTOM_ prefix is fully documented or requires external API knowledge.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.6) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — pbr |
| Maintenance | abandoned — 1,856 days since the last release |
| First released | |
| Downloads | 110,470/month — #12,459 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: os_resource_classes-1.1.0-py3-none-any.whl
Tags
More Distributed Computing packages
gRPC Python is an HTTP/2-based RPC framework…
permissive · top 100 on PyPI
execnetexecnet lets you spawn and communicate with…
permissive · top 1,000 on PyPI
cloudpickleCloudpickle extends Python's standard pickle…
permissive · top 1,000 on PyPI
smart-openProvides a unified, open()-compatible Python…
permissive · top 1,000 on PyPI
portalockerPortalocker provides cross-platform file…
permissive · top 1,000 on PyPI
rayRay is a distributed computing framework that…
permissive · top 1,000 on PyPI
os-traitsos-traits provides a standardized catalog of…
permissive · top 15,000 on PyPI
os-service-typesProvides access to OpenStack service-type…
permissive · top 5,000 on PyPI
osc-placementProvides a command-line interface to the…
permissive · top 15,000 on PyPI
os-kenos-ken is a component-based software defined…
permissive · top 15,000 on PyPI
os-vifos-vif provides a library for managing the…
permissive · top 15,000 on PyPI
os-client-configCollects and manages OpenStack cloud client…
permissive · top 15,000 on PyPI
keystoneOpenStack Keystone provides authentication,…
permissive · top 15,000 on PyPI
oslo.logoslo.log provides standardized logging…
permissive · top 5,000 on PyPI
osc-libosc-lib provides a shared library of common…
permissive · top 5,000 on PyPI
oslo.cacheoslo.cache wraps dogpile.cache to provide a…
permissive · top 15,000 on PyPI