Skip to main content

zcbor

After installing, zcbor can be invoked on the command line as zcbor, or included as a module via import zcbor.

This package has 2 uses:

  1. Schema-based validation and conversion of YAML/JSON/CBOR data.
  2. Generating C code that decodes/encodes and validates CBOR data according to a schema.

The schema language used by zcbor is CDDL which allows creating very advanced and detailed schemas.

The PyPi package comes with a C library which is needed by the generated code. This library is not run by the zcbor package, but in the user's project that includes zcbor-generated code. If zcbor is asked to generate a cmake file, the file will reference the C library, and if asked to copy sources, zcbor will copy these library files to the given location.

The C library also functions as a standalone CBOR C library, and is used in the Zephyr RTOS.

Please visit the Github repository for more information about this Python package, and the C library.

Metadata

Release files for zcbor 0.9.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zcbor 0.9.1
File Size Uploaded
zcbor-0.9.1.tar.gz 80.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zcbor 0.9.1
File Interpreter ABI Platform
zcbor-0.9.1-py3-none-any.whl Python 3 none any Details

Total release size: 154.8 kB

Release files / zcbor-0.9.1.tar.gz

Download URL zcbor-0.9.1.tar.gz
Size 80.3 kB
Tags Source
SHA-256 checksum
How to use checksums
c04918392e2dbb14c6f038d776e2ea6b09c34ba1028b045aadd7c3a95616bc38
BLAKE2b-256 checksum
How to use checksums
626521d01924de3e99ddf05fb8476576307e65a64893c74296a35dd8bbc9f373
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release files / zcbor-0.9.1-py3-none-any.whl

Download URL zcbor-0.9.1-py3-none-any.whl
Size 74.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc8bf4470f235c56d6276f162a5cd5417206335da21648ac2274f6417a18266e
BLAKE2b-256 checksum
How to use checksums
0e3156f49b69a76fcd4a0c178c858b6dad3a0b36fff669e7f2895c569e9d035f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.4

Release history Release notifications | RSS feed

This release

0.9.1 This release

2 release files

0.9.0

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page