{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/3"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"},{"label":"JSON Schema","url":"https://skillfed.io/packages/category/file-formats-json-json-schema"}],"enrichment":{"capability":"zcbor validates and converts YAML/JSON/CBOR data against CDDL schemas, and generates C code for encoding/decoding CBOR data with schema validation.","skillfed_tags":["cbor-serialization","code-generation","embedded-systems"],"use_cases":["Validate incoming CBOR messages against a schema before processing in a Python service.","Generate C code for CBOR encoding/decoding in embedded or IoT firmware projects.","Convert between YAML/JSON and CBOR formats with schema-enforced validation.","Define and validate complex binary protocols using CDDL schemas.","Integrate CBOR serialization into Zephyr RTOS or other embedded systems via the C library."],"what_it_does":"zcbor is a CDDL schema processor that works in two modes: as a validator for YAML, JSON, and CBOR data, and as a code generator that produces C implementations for encoding and decoding CBOR according to a schema. The package includes a C library (also used standalone in Zephyr RTOS) that handles the low-level CBOR operations; when you generate C code, zcbor either references this library via CMake or copies its sources to your project.\n\nThe tool targets developers working with CBOR serialization who need either runtime validation in Python or embedded C implementations. CDDL (Concise Data Definition Language, RFC 8610) provides a powerful schema syntax for defining complex binary data structures, making zcbor useful for IoT, embedded systems, and any project where CBOR is the wire format.","worth_installing":"Yes. zcbor fills a specific niche\u2014CDDL-based CBOR validation and C code generation\u2014with low install friction, active maintenance, no known vulnerabilities, and a permissive license. Install it if you need schema-driven CBOR handling in Python or C; skip it if you work exclusively with JSON or don't require CDDL's advanced schema features."},"id":"zcbor","links":{"html":"https://skillfed.io/packages/zcbor","md":"https://skillfed.io/packages/zcbor.md","pypi":"https://pypi.org/project/zcbor/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2024-10-17","license_spdx":null,"license_treatment":"permissive","name":"zcbor","python_support":"supports_current","summary":"Code generation and data validation using CDDL schemas"},"popularity":{"monthly_downloads":383063,"position":7082,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.9.1"}
