Skip to main content

Pure Python CBOR (de)serializer with extensive tag support

Project description

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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for cbor2, version 5.1.2
Filename, size File type Python version Upload date Hashes
Filename, size cbor2-5.1.2.tar.gz (73.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page