skillfed

os-resource-classes

Resource Classes for OpenStack

os-resource-classes v1.1.0 110.5K downloads/30d#12,459 on PyPI
Permissive license Abandoned released

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-classes

uv

uv add os-resource-classes

poetry

poetry add os-resource-classes

Installing 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

Environment :: OpenStackIntended Audience :: Information TechnologyIntended Audience :: System AdministratorsLicense :: OSI Approved :: Apache Software LicenseOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: Implementation :: CPython

Tags

openstack resource classesopenstack inventory typesopenstack vcpu disk symbolsopenstack placement apicloud resource enumerationopenstack custom resources
openstackcloud-infrastructure

More Distributed Computing packages