benmcp / cbor2

Pure Python CBOR (de)serializer with extensive tag support

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status Code Coverage Documentation Status

This library provides encoding and decoding for the Concise Binary Object Representation (CBOR) (RFC 7049) serialization format. Read the docs to learn more.

It is implemented in pure python with an optional C backend and is compatible with versions 2.7 through to 3.7.

On cPython>=3.3 cbor2 can use a built in C module for performance similar to how pickle wraps the _pickle C module in the Python Standard Library. On Windows, this is restricted to cPython>=3.5.

On PyPy, cbor2 runs with almost identical performance to the C backend.

About

Pure Python CBOR (de)serializer with extensive tag support

License:Other


Languages

Language:C 63.9%Language:Python 35.7%Language:Shell 0.3%Language:C++ 0.1%