oslo.cache
Cache storage for OpenStack projects.
Decision gist · record as of 2026-08-14
Yes, if you are building or maintaining an OpenStack service. oslo.cache is actively maintained, has no known vulnerabilities, and low install friction. Its value is specific to the OpenStack ecosystem; outside that context, you would likely use dogpile.cache directly or a simpler caching library.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.11.
- Typically used within an OpenStack project context where oslo.config is already configured.
- Low friction install with five stable runtime dependencies.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows use in most commercial and open-source contexts without significant restrictions.
last release 2026-07-10 (35 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 348,299 downloads/mo, #7,343 on PyPI
Alternatives
Verify before relying
pip install oslo.cache
from oslo_cache import cache
cache.configure(CONF)
decorator = cache.get_memoization_decorator(CONF, 'my_cache')
@decorator
def expensive_function(arg):
return result- Whether dogpile.cache backends (Memcached, Redis, etc.) require additional system libraries or configuration beyond what oslo.cache provides.
- Performance characteristics and scalability limits for high-concurrency caching scenarios.
What it is and what it does
oslo.cache is an OpenStack library that abstracts caching operations by wrapping dogpile.cache, a mature memoization and key-value storage library. It provides a consistent interface for OpenStack projects to cache expensive computations and data without reimplementing caching logic, and supports multiple backends including Memcached. The library integrates with oslo.config for configuration management and oslo.log for logging, making it a natural fit for OpenStack services that need transparent caching across their codebase.
The package is designed for teams building or extending OpenStack infrastructure. It handles the plumbing of cache initialization, decorator-based memoization, and backend selection, letting developers focus on identifying what to cache rather than managing cache mechanics. It requires Python 3.11 or later and depends on five oslo.* libraries plus dogpile.cache itself.
Use it for
- Cache expensive database queries or API calls in OpenStack services to reduce latency and load.
- Memoize computationally intensive operations (e.g., policy evaluation, token validation) across requests.
- Share cached data across multiple OpenStack service instances via a Memcached backend.
- Standardize caching patterns across an OpenStack deployment without per-service reimplementation.
- Integrate caching into existing oslo.config-based OpenStack projects with minimal code changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building or maintaining an OpenStack service.
oslo.cache is actively maintained, has no known vulnerabilities, and low install friction. Its value is specific to the OpenStack ecosystem; outside that context, you would likely use dogpile.cache directly or a simpler caching library.
Install
oslo-cache on PyPI
Before you install
Low friction install with five stable runtime dependencies. Actively maintained as of 35 days ago, supporting current Python versions (3.11–3.14).
Requires Python >= 3.11. Typically used within an OpenStack project context where oslo.config is already configured.
License in practice
Apache-2.0 permissive license allows use in most commercial and open-source contexts without significant restrictions.
Quickstart
pip install oslo.cache
from oslo_cache import cache
cache.configure(CONF)
decorator = cache.get_memoization_decorator(CONF, 'my_cache')
@decorator
def expensive_function(arg):
return result
Verify before relying
- Whether dogpile.cache backends (Memcached, Redis, etc.) require additional system libraries or configuration beyond what oslo.cache provides.
- Performance characteristics and scalability limits for high-concurrency caching scenarios.
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagesdogpile.cacheoslo.configoslo.i18noslo.logoslo.utils |
| Maintenance | Actively maintained 35 days since the last release |
| First released | |
| Downloads | 348,299 / month, #7,343 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.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Typing :: Typed |
Evidence: oslo_cache-4.3.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 caching library”
- oslo.cacheoslo.cache wraps dogpile.cache to provide a standardized caching…
- keystoneOpenStack Keystone provides authentication, authorization, and…
- keystonemiddlewareProvides authentication and authorization middleware for OpenStack…
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 oslo.log · oslo.vmware · oslo.upgradecheck · oslo.db · oslo.messaging · oslo.versionedobjects · glance-store · oslo.serialization · oslo.utils · oslo.middleware