Skip to main content

Pure Python CBOR (de)serializer with extensive tag support

Project description

Build Status Code Coverage

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

There exists another Python CBOR implementation (cbor) which is faster on CPython due to its C extensions. On PyPy, cbor2 and cbor are almost identical in performance. The other implementation also lacks documentation and a comprehensive test suite, does not support most standard extension tags and is known to crash (segfault) when passed a cyclic structure (say, a list containing itself).

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-4.0.1.tar.gz (20.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cbor2-4.0.1-py2.py3-none-any.whl (11.3 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: cbor2-4.0.1.tar.gz
  • Upload date:
  • Size: 20.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for cbor2-4.0.1.tar.gz
Algorithm Hash digest
SHA256 cee0d01e520563b5a73c72eace5c428bb68aefb1b3f7aee5d692d3af6a1e5172
MD5 cc8760d416302293b972624e668dee05
BLAKE2b-256 474653a3ef0eac8b59d37e097eafc3b3f24fcaff4e954f3059aa343f1759e5d0

See more details on using hashes here.

File details

Details for the file cbor2-4.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for cbor2-4.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b0eb916c9ea226aa81e9091607737475d5b0e5c314fe8d5a87179fba449cd190
MD5 495e1d22b2c1733f2b02f6e03a18db76
BLAKE2b-256 7cd2a6fd746b35714945b48a9de667e652d47b81107c554ccf45bb89e0b3d7e7

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