Python SDK for Diffusion - CBOR encoder
Pre-release version; not ready for production.
This is the CBOR encoding module for the Python SDK for Diffusion.
It provides indefinite encoding which is the preferred variant of
CBOR, the binary protocol used to communicate with the Diffusion Server.
Supported Python Versions
The Diffusion Python SDK officially supports the following:
Supported Interpreters:
- CPython 3.7.9 or later
- CPython 3.8.6 or later
- CPython 3.9.0 or later
Supported Platforms:
- MacOS 10.13-11.5
- Windows Intel 64-bit
- Any Linux supported by the ManyLinux 2010/2014 binary wheel standard.
Current Capabilities
- CBOR:
- indefinite encoding
- definite encoding
Test call
import diffusion_cbor
obj = {"arbitary":["json", "data", 0.0, -35]}
diffusion_cbor.dumps(obj, indefinite=True)