MessagePack-Python - MessagePack 的 Python 实现


未知
Windows
Python

软件简介

MessagePack-Python 是用于 Python 的 MessagePack 序列化实现。

MessagePack 是一个基于二进制高效的对象序列化类库,可用于跨语言通信。它可以像 JSON 那样,在许多种语言之间交换结构对象;但是它比 JSON
更快速也更轻巧。

安装

$ pip install msgpack-python

PyPy

msgpack-python 提供纯 python 实现。PyPy 可以使用。

Windows

当不能使用二进制分发,你需要在 Windows 上安装 Visual Studio 或 Windows SDK 。 如果没有扩展,在 CPython
上使用纯 python 实现会运行缓慢。

对于 Python 2.7,建议使用 Microsoft Visual C ++ Compiler for Python 2.7。

对于 Python 3.5,Microsoft Visual Studio 2015 社区版或 Express Edition 可用于构建扩展模块。