u-msgpack-python
A portable, lightweight MessagePack serializer and deserializer written in pure Python.
Decision gist · record as of 2026-08-14
Yes. The package is stable, actively maintained, has zero known vulnerabilities, and installs with no dependencies. It is a solid choice for MessagePack serialization in pure-Python contexts. The main trade-off is performance versus convenience—if you need maximum speed, a C-based implementation may be preferable, but for most applications the pure-Python approach is sufficient and simpler to deploy.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with no runtime dependencies.
- The package is actively maintained as of 2026-07-08 and marked Production/Stable, though the latest release dates to 2023-05-18.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you retain the license notice.
last release 2023-05-18 (1184 days) · last repo commit 2026-07-08 · 268 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,806,034 downloads/mo, #3,535 on PyPI
Alternatives
Verify before relying
pip install u-msgpack-python
import u_msgpack
data = {"key": "value"}
packed = u_msgpack.packb(data)
unpacked = u_msgpack.unpackb(packed)- Whether Python 2 support remains practically useful given its end-of-life status
- Performance characteristics compared to other msgpack implementations in production workloads
- Specific use cases where the pure-Python implementation is preferred over C-based alternatives
What it is and what it does
u-msgpack-python is a pure-Python implementation of the MessagePack serialization format. It encodes Python objects into a compact binary representation and decodes them back, following the latest MessagePack specification including support for binary, UTF-8 string, and application-defined extension types. The package has no external dependencies and runs on CPython and PyPy across Python 2 and Python 3.
It is typically used when you need a lightweight, portable serialization mechanism for inter-process communication, network protocols, or data storage where MessagePack's compact format is preferable to JSON or pickle. Because it is written entirely in Python, it trades some performance for simplicity and ease of deployment—no compilation or system libraries required.
Use it for
- Serialize structured data for transmission over network sockets or message queues
- Store application state or configuration in a compact binary format
- Implement RPC or microservice communication protocols using MessagePack as the wire format
- Exchange data between Python and other languages that support MessagePack
- Embed serialization in pure-Python environments where C extensions cannot be used
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is stable, actively maintained, has zero known vulnerabilities, and installs with no dependencies. It is a solid choice for MessagePack serialization in pure-Python contexts. The main trade-off is performance versus convenience—if you need maximum speed, a C-based implementation may be preferable, but for most applications the pure-Python approach is sufficient and simpler to deploy.
Install
u-msgpack-python on PyPI
Before you install
Low install friction with no runtime dependencies. The package is actively maintained as of 2026-07-08 and marked Production/Stable, though the latest release dates to 2023-05-18.
License in practice
MIT license permits commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you retain the license notice.
Quickstart
pip install u-msgpack-python
import u_msgpack
data = {"key": "value"}
packed = u_msgpack.packb(data)
unpacked = u_msgpack.unpackb(packed)
Verify before relying
- Whether Python 2 support remains practically useful given its end-of-life status
- Performance characteristics compared to other msgpack implementations in production workloads
- Specific use cases where the pure-Python implementation is preferred over C-based alternatives
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Actively maintained 1,184 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,806,034 / month, #3,535 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Programming Language :: Python :: 3Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPy |
Evidence: u_msgpack_python-2.8.0-py2.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 › “binary message serializer”
- u-msgpack-pythonu-msgpack-python serializes and deserializes data in MessagePack…
- msgpackmsgpack serializes and deserializes Python objects to and from…
- borsh-constructImplements the Borsh binary serialization format for Python, enabling…
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 msgpack · msgpack-python · pyiso8583 · srsly · ormsgpack · msgpack-numpy-opentensor · msgpack-numpy · msgspec-m · msgspec · smp