oslo.messaging
Oslo Messaging API
What it is and what it does
Oslo Messaging is an OpenStack library that provides a standardized API for sending RPC calls and notifications across distributed systems. It abstracts the underlying message transport layer, allowing applications to work with different brokers without changing application code. The library handles serialization, routing, and delivery semantics, making it easier to build loosely coupled microservices and distributed components.
The package is designed for infrastructure and cloud applications that need reliable inter-process communication. It brings in 17 runtime dependencies including kombu, amqp, oslo.config, oslo.log, oslo.serialization, and others. It requires Python 3.11 or later and a running message broker backend to function.
Use it for:
- Building OpenStack services that need to communicate via RPC calls across multiple nodes.
- Sending notifications from one service to many subscribers in a distributed system.
- Abstracting message transport details to allow switching between different brokers.
- Implementing request-reply patterns in microservices without direct broker coupling.
- Centralizing messaging configuration and serialization logic across multiple applications.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Oslo Messaging provides a unified API for RPC and notification messaging across multiple transport backends, abstracting away the complexity of different messaging systems.
Yes, if you are building OpenStack services or distributed systems that require a standardized messaging abstraction. The active maintenance, low install friction, permissive license, and zero known vulnerabilities make it a solid choice. No, if you need a lightweight messaging client for simple use cases—the 17 dependencies and Python 3.11+ requirement add overhead. Yes-with-conditions if evaluating for non-OpenStack projects: verify that the oslo.* ecosystem and its dependency footprint align with your architecture.
Install
oslo-messaging on PyPI
pip
pip install oslo-messaginguv
uv add oslo-messagingpoetry
poetry add oslo-messagingInstalling oslo.messaging
Before you install
Low install friction with a pure-Python wheel. Active maintenance as of 35 days ago. Requires Python 3.11 or later and brings in 17 runtime dependencies including kombu, amqp, and several other oslo.* libraries, which is typical for OpenStack infrastructure components.
License in practice
Licensed under Apache License, Version 2.0 (permissive). Safe for commercial and proprietary use with standard attribution requirements.
Quickstart
pip install oslo.messaging
from oslo_messaging import rpc
from oslo_messaging import transport
trans = transport.get_transport(transport_url)
Requires a message broker backend to be running and accessible; Python 3.11 or later.
Verify before relying
- Whether all 17 runtime dependencies are truly required for basic RPC/notification use or if some are optional.
- Performance characteristics and throughput limits for different transport backends.
- Whether the package supports async/await patterns or is callback-based only.
- Specific message broker versions and configurations supported.
Package facts
| License | not declared (permissive) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 17 — pbr, futurist, oslo.config, oslo.context, oslo.log, oslo.utils, oslo.serialization, oslo.service, stevedore, debtcollector, cachetools, WebOb, PyYAML, amqp, kombu, oslo.middleware, oslo.metrics |
| Maintenance | actively maintained — 35 days since the last release |
| First released | |
| Downloads | 502,247/month — #6,310 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: oslo_messaging-18.2.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
oslo.versionedobjectsoslo.versionedobjects provides a versioned…
permissive · top 15,000 on PyPI
oslo.vmwareoslo.vmware provides a library for common…
permissive · top 15,000 on PyPI
solace-pubsubplusSolace Messaging API for Python provides client…
permissive · top 15,000 on PyPI
oslo.metricsCollects and exposes metrics data from Oslo…
permissive · top 15,000 on PyPI
oslo.policyoslo.policy enforces role-based access control…
permissive · top 15,000 on PyPI
oslo.cacheoslo.cache wraps dogpile.cache to provide a…
permissive · top 15,000 on PyPI
oslo.serializationoslo.serialization provides serialization and…
permissive · top 5,000 on PyPI
oslo.concurrencyoslo.concurrency provides locking mechanisms…
permissive · top 15,000 on PyPI
oslo.dboslo.db provides database connectivity and ORM…
permissive · top 15,000 on PyPI
Farama-NotificationsProvides a notification system that Farama…
permissive · top 5,000 on PyPI