ormsgpack 1.12.2


pip install ormsgpack

  Latest version

Released: Jan 18, 2026

Project Links

Meta
Author: Aviram Hassan, Emanuele Giaquinta
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Intended Audience
  • Developers

License
  • OSI Approved :: Apache Software License
  • OSI Approved :: MIT License

Operating System
  • MacOS
  • Microsoft :: Windows
  • POSIX :: Linux

Programming Language
  • Python :: 3
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: Implementation :: CPython
  • Python :: Implementation :: GraalPy
  • Python :: Implementation :: PyPy
  • Python
  • Rust

Typing
  • Typed

ormsgpack

PyPI - Version PyPI - Python Version PyPI - Downloads

ormsgpack is a fast MessagePack serialization library for Python derived from orjson, with native support for various Python types.

ormsgpack follows semantic versioning and supports CPython, PyPy and GraalPy.

Links:

Installation

pip

pip install ormsgpack

uv

uv add ormsgpack

Installing from a source distribution requires Rust 1.81 or newer and maturin.

Quickstart

This is an example of serializing and deserializing an object:

>>> import ormsgpack, datetime, numpy
>>> event = {
...     "type": "put",
...     "time": datetime.datetime(1970, 1, 1),
...     "uid": 1,
...     "data": numpy.array([1, 2]),
... }
>>> ormsgpack.packb(event, option=ormsgpack.OPT_SERIALIZE_NUMPY)
b'\x84\xa4type\xa3put\xa4time\xb31970-01-01T00:00:00\xa3uid\x01\xa4data\x92\x01\x02'
>>> ormsgpack.unpackb(_)
{'type': 'put', 'time': '1970-01-01T00:00:00', 'uid': 1, 'data': [1, 2]}

License

orjson was written by ijl <ijl@mailbox.org>, copyright 2018 - 2021, licensed under both the Apache License, Version 2.0, and the MIT License.

ormsgpack was forked from orjson by Aviram Hassan and is now maintained by Emanuele Giaquinta (@exg), licensed under both the Apache License, Version 2.0, and the MIT License.

Wheel compatibility matrix

Platform CPython 3.10 CPython 3.11 CPython 3.12 CPython 3.13 CPython 3.14 CPython (additional flags: t) 3.14
macosx_10_12_universal2
macosx_10_12_x86_64
macosx_11_0_arm64
manylinux2014_aarch64
manylinux2014_armv7l
manylinux2014_x86_64
manylinux_2_17_aarch64
manylinux_2_17_armv7l
manylinux_2_17_x86_64
musllinux_1_2_aarch64
musllinux_1_2_armv7l
musllinux_1_2_x86_64
win_amd64
win_arm64

Files in release

ormsgpack-1.12.2-cp310-cp310-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (369.4KiB)
ormsgpack-1.12.2-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (198.3KiB)
ormsgpack-1.12.2-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (205.6KiB)
ormsgpack-1.12.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.4KiB)
ormsgpack-1.12.2-cp310-cp310-musllinux_1_2_aarch64.whl (378.0KiB)
ormsgpack-1.12.2-cp310-cp310-musllinux_1_2_armv7l.whl (471.0KiB)
ormsgpack-1.12.2-cp310-cp310-musllinux_1_2_x86_64.whl (415.2KiB)
ormsgpack-1.12.2-cp310-cp310-win_amd64.whl (114.4KiB)
ormsgpack-1.12.2-cp311-cp311-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (369.4KiB)
ormsgpack-1.12.2-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (198.3KiB)
ormsgpack-1.12.2-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (205.6KiB)
ormsgpack-1.12.2-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.4KiB)
ormsgpack-1.12.2-cp311-cp311-musllinux_1_2_aarch64.whl (378.0KiB)
ormsgpack-1.12.2-cp311-cp311-musllinux_1_2_armv7l.whl (471.0KiB)
ormsgpack-1.12.2-cp311-cp311-musllinux_1_2_x86_64.whl (415.2KiB)
ormsgpack-1.12.2-cp311-cp311-win_amd64.whl (114.4KiB)
ormsgpack-1.12.2-cp311-cp311-win_arm64.whl (108.9KiB)
ormsgpack-1.12.2-cp312-cp312-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (369.7KiB)
ormsgpack-1.12.2-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (198.4KiB)
ormsgpack-1.12.2-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (205.8KiB)
ormsgpack-1.12.2-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.6KiB)
ormsgpack-1.12.2-cp312-cp312-musllinux_1_2_aarch64.whl (378.1KiB)
ormsgpack-1.12.2-cp312-cp312-musllinux_1_2_armv7l.whl (471.2KiB)
ormsgpack-1.12.2-cp312-cp312-musllinux_1_2_x86_64.whl (415.5KiB)
ormsgpack-1.12.2-cp312-cp312-win_amd64.whl (114.7KiB)
ormsgpack-1.12.2-cp312-cp312-win_arm64.whl (108.9KiB)
ormsgpack-1.12.2-cp313-cp313-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (369.8KiB)
ormsgpack-1.12.2-cp313-cp313-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (198.4KiB)
ormsgpack-1.12.2-cp313-cp313-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (205.8KiB)
ormsgpack-1.12.2-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.6KiB)
ormsgpack-1.12.2-cp313-cp313-musllinux_1_2_aarch64.whl (378.1KiB)
ormsgpack-1.12.2-cp313-cp313-musllinux_1_2_armv7l.whl (471.2KiB)
ormsgpack-1.12.2-cp313-cp313-musllinux_1_2_x86_64.whl (415.6KiB)
ormsgpack-1.12.2-cp313-cp313-win_amd64.whl (114.7KiB)
ormsgpack-1.12.2-cp313-cp313-win_arm64.whl (109.0KiB)
ormsgpack-1.12.2-cp314-cp314-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (369.8KiB)
ormsgpack-1.12.2-cp314-cp314-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (198.4KiB)
ormsgpack-1.12.2-cp314-cp314-manylinux_2_17_armv7l.manylinux2014_armv7l.whl (205.9KiB)
ormsgpack-1.12.2-cp314-cp314-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.7KiB)
ormsgpack-1.12.2-cp314-cp314-musllinux_1_2_aarch64.whl (378.1KiB)
ormsgpack-1.12.2-cp314-cp314-musllinux_1_2_armv7l.whl (471.3KiB)
ormsgpack-1.12.2-cp314-cp314-musllinux_1_2_x86_64.whl (415.6KiB)
ormsgpack-1.12.2-cp314-cp314-win_amd64.whl (114.7KiB)
ormsgpack-1.12.2-cp314-cp314-win_arm64.whl (109.0KiB)
ormsgpack-1.12.2-cp314-cp314t-macosx_10_12_x86_64.macosx_11_0_arm64.macosx_10_12_universal2.whl (369.8KiB)
ormsgpack-1.12.2-cp314-cp314t-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (198.4KiB)
ormsgpack-1.12.2-cp314-cp314t-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (207.8KiB)
ormsgpack-1.12.2-cp314-cp314t-win_amd64.whl (114.5KiB)
ormsgpack-1.12.2.tar.gz (38.1KiB)
No dependencies