oslo.serialization
Oslo Serialization library
Decision gist · record as of 2026-08-14
Yes, if you are working within the OpenStack ecosystem or need a consistent serialization abstraction across multiple formats. The library is actively maintained, has no known vulnerabilities, and low install friction. If you only need standard JSON serialization, Python's built-in json module may be sufficient; this package adds value primarily when you need format flexibility or are integrating with OpenStack infrastructure.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.11 or later.
- Low install friction with a pure-wheel distribution.
- Active maintenance with a release 35 days ago.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most deployment contexts.
last release 2026-07-10 (35 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,600,645 downloads/mo, #3,727 on PyPI
Alternatives
Verify before relying
pip install oslo.serialization
from oslo_serialization import jsonutils
data = {'key': 'value'}
serialized = jsonutils.dumps(data)
deserialized = jsonutils.loads(serialized)- Whether the package supports streaming or only in-memory serialization
- Performance characteristics compared to standard library json module
- Whether custom serializers for application-specific types are supported
What it is and what it does
oslo.serialization is a library from the OpenStack project that handles conversion of Python objects into formats suitable for transmission and storage. It abstracts away the details of working with Base64, JSON, and MessagePack, providing a consistent interface across these serialization backends.
The library is designed for cloud infrastructure and distributed systems where objects need to be reliably encoded, transmitted over networks, and decoded on the other end. It sits between application code and the underlying format libraries (msgpack and oslo.utils), handling the mechanics of serialization so callers don't need to manage format-specific details directly.
Use it for
- Serialize application state to JSON for REST API responses in OpenStack services
- Encode Python objects to MessagePack for efficient binary transmission between services
- Convert objects to Base64 for embedding in configuration files or logs
- Provide a unified serialization layer across multiple OpenStack components
- Handle object-to-wire conversion in distributed system communication
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are working within the OpenStack ecosystem or need a consistent serialization abstraction across multiple formats.
The library is actively maintained, has no known vulnerabilities, and low install friction. If you only need standard JSON serialization, Python's built-in json module may be sufficient; this package adds value primarily when you need format flexibility or are integrating with OpenStack infrastructure.
Install
oslo-serialization on PyPI
Before you install
Low install friction with a pure-wheel distribution. Active maintenance with a release 35 days ago. Depends on msgpack and oslo.utils, both lightweight runtime dependencies.
Requires Python 3.11 or later.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions, making it suitable for most deployment contexts.
Quickstart
pip install oslo.serialization
from oslo_serialization import jsonutils
data = {'key': 'value'}
serialized = jsonutils.dumps(data)
deserialized = jsonutils.loads(serialized)
Verify before relying
- Whether the package supports streaming or only in-memory serialization
- Performance characteristics compared to standard library json module
- Whether custom serializers for application-specific types are supported
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release >=3.11 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesmsgpackoslo.utils |
| Maintenance | Actively maintained 35 days since the last release |
| First released | |
| Downloads | 1,600,645 / month, #3,727 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 :: OnlyProgramming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTyping :: Typed |
Evidence: oslo_serialization-5.11.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 › “object serialization formats”
- oslo.serializationoslo.serialization provides serialization and deserialization support…
- asn1Encodes and decodes ASN.1 data structures using BER and DER formats,…
- py-serializableSerializes and deserializes Python classes to and from JSON and XML…
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.reports · oslo.versionedobjects · oslo.utils · oslo.vmware · oslo.messaging · borsh-construct · oslo.cache · oslo.log · cbor2 · cbor