Msgpack serialization/deserialization library for Python
ormsgpack ormsgpack is a fast msgpack library for Python. It is a fork/reboot of orjson It serializes faster than msgpack-python and deserializes a bit slower (right now). It supports serialization of: dataclass, datetime, numpy, pydantic and UUID instances natively. Its features and drawbacks compared to other Python msgpack libraries: serializes dataclass instances natively. serializes datetime, date, and time instances to RFC 3339 format, e.g., “1970-01-01T00:00:00+00:00” serializes numpy.ndarray instances natively and faster. serializes pydantic.BaseModel instances natively (disregards the configuration ATM). serializes […]
Read more