ormsgpack 1.13.1


pip install ormsgpack

  Latest version

Released: Nov 08, 2026

Project Links

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

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.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14
  • Python :: 3.15
  • 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.88 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.11 CPython 3.12 CPython 3.13 CPython 3.14 CPython 3.15 CPython (additional flags: t) 3.14 CPython (additional flags: t) 3.15
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_x86_64
win_amd64
win_arm64

Files in release

ormsgpack-1.13.1-cp311-cp311-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (460.4KiB)
ormsgpack-1.13.1-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (255.7KiB)
ormsgpack-1.13.1-cp311-cp311-manylinux2014_armv7l.manylinux_2_17_armv7l.whl (262.5KiB)
ormsgpack-1.13.1-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (263.7KiB)
ormsgpack-1.13.1-cp311-cp311-musllinux_1_2_aarch64.whl (430.3KiB)
ormsgpack-1.13.1-cp311-cp311-musllinux_1_2_x86_64.whl (472.2KiB)
ormsgpack-1.13.1-cp311-cp311-win_amd64.whl (163.9KiB)
ormsgpack-1.13.1-cp311-cp311-win_arm64.whl (161.3KiB)
ormsgpack-1.13.1-cp312-cp312-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (460.5KiB)
ormsgpack-1.13.1-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (258.4KiB)
ormsgpack-1.13.1-cp312-cp312-manylinux2014_armv7l.manylinux_2_17_armv7l.whl (262.8KiB)
ormsgpack-1.13.1-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (267.5KiB)
ormsgpack-1.13.1-cp312-cp312-musllinux_1_2_aarch64.whl (433.2KiB)
ormsgpack-1.13.1-cp312-cp312-musllinux_1_2_x86_64.whl (477.2KiB)
ormsgpack-1.13.1-cp312-cp312-win_amd64.whl (168.9KiB)
ormsgpack-1.13.1-cp312-cp312-win_arm64.whl (163.8KiB)
ormsgpack-1.13.1-cp313-cp313-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (461.0KiB)
ormsgpack-1.13.1-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (258.8KiB)
ormsgpack-1.13.1-cp313-cp313-manylinux2014_armv7l.manylinux_2_17_armv7l.whl (262.8KiB)
ormsgpack-1.13.1-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (267.7KiB)
ormsgpack-1.13.1-cp313-cp313-musllinux_1_2_aarch64.whl (433.6KiB)
ormsgpack-1.13.1-cp313-cp313-musllinux_1_2_x86_64.whl (477.4KiB)
ormsgpack-1.13.1-cp313-cp313-win_amd64.whl (169.3KiB)
ormsgpack-1.13.1-cp313-cp313-win_arm64.whl (164.1KiB)
ormsgpack-1.13.1-cp314-cp314-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (459.9KiB)
ormsgpack-1.13.1-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (258.6KiB)
ormsgpack-1.13.1-cp314-cp314-manylinux2014_armv7l.manylinux_2_17_armv7l.whl (262.6KiB)
ormsgpack-1.13.1-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (267.5KiB)
ormsgpack-1.13.1-cp314-cp314-musllinux_1_2_aarch64.whl (433.3KiB)
ormsgpack-1.13.1-cp314-cp314-musllinux_1_2_x86_64.whl (477.1KiB)
ormsgpack-1.13.1-cp314-cp314-win_amd64.whl (168.4KiB)
ormsgpack-1.13.1-cp314-cp314-win_arm64.whl (163.3KiB)
ormsgpack-1.13.1-cp314-cp314t-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (456.4KiB)
ormsgpack-1.13.1-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (256.4KiB)
ormsgpack-1.13.1-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (265.9KiB)
ormsgpack-1.13.1-cp314-cp314t-win_amd64.whl (166.1KiB)
ormsgpack-1.13.1-cp315-cp315-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (460.0KiB)
ormsgpack-1.13.1-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (258.3KiB)
ormsgpack-1.13.1-cp315-cp315-manylinux2014_armv7l.manylinux_2_17_armv7l.whl (263.0KiB)
ormsgpack-1.13.1-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (267.7KiB)
ormsgpack-1.13.1-cp315-cp315-musllinux_1_2_aarch64.whl (433.0KiB)
ormsgpack-1.13.1-cp315-cp315-musllinux_1_2_x86_64.whl (477.2KiB)
ormsgpack-1.13.1-cp315-cp315-win_amd64.whl (168.7KiB)
ormsgpack-1.13.1-cp315-cp315-win_arm64.whl (163.5KiB)
ormsgpack-1.13.1-cp315-cp315t-macosx_10_12_universal2.macosx_10_12_x86_64.macosx_11_0_arm64.whl (456.8KiB)
ormsgpack-1.13.1-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl (256.5KiB)
ormsgpack-1.13.1-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl (265.9KiB)
ormsgpack-1.13.1-cp315-cp315t-win_amd64.whl (166.3KiB)
ormsgpack-1.13.1.tar.gz (43.9KiB)
No dependencies