New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

zcbor

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zcbor

Code generation and data validation using CDDL schemas

  • 0.9.1
  • PyPI
  • Socket score

Maintainers
1

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.

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc