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.

Source Distribution

cbor2-5.1.1.tar.gz (73.2 kB view details)

Uploaded Source

File details

Details for the file cbor2-5.1.1.tar.gz.

File metadata

  • Download URL: cbor2-5.1.1.tar.gz
  • Upload date:
  • Size: 73.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.2 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.10

File hashes

Hashes for cbor2-5.1.1.tar.gz
Algorithm Hash digest
SHA256 09e9607ea50e2ebb718791d475f11620cb244b0cc3758ce2e76cf36e8372ad64
MD5 b034d7edfd22c1f98e600aaedbd90f39
BLAKE2b-256 05198975dc6d95cac6e0c3504f108838a9bb196e58e74c122aa080ce35ec514c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page