os-traits
A library containing standardized trait strings
Decision gist · record as of 2026-08-14
Yes, if you are working with OpenStack Placement or building tools that interact with resource provider traits. The library is actively maintained, has no known vulnerabilities, and carries a permissive license. If you are not using OpenStack, this package has no value.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later.
- Low install friction with a single lightweight runtime dependency (pbr).
- Actively maintained as of 66 days ago, supporting current Python versions.
License · maintenance · safety
permissive license (permissive) — Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.
last release 2026-06-09 (66 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 148,435 downloads/mo, #11,035 on PyPI
Alternatives
Verify before relying
pip install os-traits
from os_traits import hw
# Access standardized trait constants
print(hw.CPU_VMX)- Whether the trait catalog is actively updated to reflect new OpenStack hardware/feature definitions.
- Specific use cases beyond Placement service integration within OpenStack deployments.
What it is and what it does
os-traits is a reference library for OpenStack's Placement service, containing a curated set of trait constants that standardize how resource providers advertise their capabilities. Rather than each operator defining trait names ad hoc, this library ensures the OpenStack community uses consistent strings to describe CPU features, storage types, network capabilities, and device traits.
The package is purely a data and constants library—it has no complex logic or external dependencies beyond pbr. It's designed to be imported by OpenStack services and tools that need to query or configure resource provider traits, ensuring interoperability across deployments.
Use it for
- Standardize trait names when configuring resource providers in OpenStack Placement.
- Reference trait constants in Python code that queries or updates Placement service capabilities.
- Ensure consistent trait naming across OpenStack operators and deployment tooling.
- Integrate trait definitions into custom OpenStack scheduling or resource management tools.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working with OpenStack Placement or building tools that interact with resource provider traits.
The library is actively maintained, has no known vulnerabilities, and carries a permissive license. If you are not using OpenStack, this package has no value.
Install
os-traits on PyPI
Before you install
Low install friction with a single lightweight runtime dependency (pbr). Actively maintained as of 66 days ago, supporting current Python versions.
Requires Python 3.9 or later.
License in practice
Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without copyleft obligations.
Quickstart
pip install os-traits
from os_traits import hw
# Access standardized trait constants
print(hw.CPU_VMX)
Verify before relying
- Whether the trait catalog is actively updated to reflect new OpenStack hardware/feature definitions.
- Specific use cases beyond Placement service integration within OpenStack deployments.
Package facts
| License | permissive license permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagepbr |
| Maintenance | Actively maintained 66 days since the last release |
| First released | |
| Downloads | 148,435 / month, #11,035 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | 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.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPython |
Evidence: os_traits-3.8.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 › “openstack trait constants”
- os-traitsos-traits provides a standardized catalog of trait strings used by…
- neutron-libNeutron-lib provides shared routines, utilities, and common…
- os-resource-classesProvides a standardized collection of resource class symbols for…
Give your agent the search over MCP, or paste the wish link into any chat.
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 os-resource-classes · osc-placement · os-service-types · cot · oslo.log · os-ken · os-vif · traittypes · os-client-config · traitlets