oslo.utils
Oslo Utility library
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining OpenStack services or applications that already depend on oslo libraries. The low install friction, active maintenance, permissive license, and broad Python version support make it a safe choice. If you are not in the OpenStack ecosystem and need only one or two of its utility categories, consider whether a smaller, single-purpose library would reduce your dependency footprint.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low install friction with a pure-wheel distribution.
- Active maintenance status and support for current Python versions (3.10–3.13) indicate ongoing care.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows broad use, modification, and distribution with minimal restrictions.
last release 2026-06-09 (66 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,081,758 downloads/mo, #3,307 on PyPI
Alternatives
Verify before relying
pip install oslo.utils
from oslo_utils import encoding
encoded = encoding.safe_encode('text')- Specific encoding formats and exception types handled beyond the general categories mentioned.
- Whether time handling includes timezone-aware operations or only naive datetime support.
- Performance characteristics when used at scale with large datasets.
What it is and what it does
oslo.utils is a utility library from the OpenStack project that bundles common functions for encoding, exception handling, string manipulation, and time handling. It is designed to reduce boilerplate in OpenStack services and other Python applications that need these operations. The library depends on iso8601, oslo.i18n, netaddr, pyparsing, packaging, PyYAML, psutil, and pbr, making it suitable for applications already in the OpenStack ecosystem or those comfortable with these dependencies.
The package is actively maintained, supports Python 3.10 through 3.13, and carries an Apache-2.0 license. It installs with low friction as a pure wheel. With over 2 million monthly downloads and a position in the top 5000 PyPI packages, it is widely used in production systems. No known security vulnerabilities are recorded.
Use it for
- Standardize string encoding and decoding across OpenStack services or microservices.
- Parse and format timestamps consistently using built-in time handling utilities.
- Handle common exceptions with utility functions designed for distributed systems.
- Manipulate and validate network addresses using netaddr integration.
- Reduce code duplication in applications that need cross-cutting utility functions.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining OpenStack services or applications that already depend on oslo libraries.
The low install friction, active maintenance, permissive license, and broad Python version support make it a safe choice. If you are not in the OpenStack ecosystem and need only one or two of its utility categories, consider whether a smaller, single-purpose library would reduce your dependency footprint.
Install
oslo-utils on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance status and support for current Python versions (3.10–3.13) indicate ongoing care.
Requires Python 3.10 or later.
License in practice
Apache-2.0 permissive license allows broad use, modification, and distribution with minimal restrictions.
Quickstart
pip install oslo.utils
from oslo_utils import encoding
encoded = encoding.safe_encode('text')
Verify before relying
- Specific encoding formats and exception types handled beyond the general categories mentioned.
- Whether time handling includes timezone-aware operations or only naive datetime support.
- Performance characteristics when used at scale with large datasets.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesiso8601oslo.i18nnetaddrpyparsingpackagingPyYAMLpsutilpbr |
| Maintenance | Actively maintained 66 days since the last release |
| First released | |
| Downloads | 2,081,758 / month, #3,307 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 AdministratorsOperating System :: POSIX :: LinuxProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Typing :: Typed |
Evidence: oslo_utils-10.1.1-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 › “time handling functions”
- oslo.utilsoslo.utils provides common utility functions for encoding, exception…
- utilsProvides a collection of utility functions and classes for common…
- bigA collection of small utility functions and classes for common Python…
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 oslo.middleware · oslo.vmware · oslo.serialization · oslotest · oslo.log · oslo.context · oslo.concurrency · oslo.config · commoncode · oslo.cache