-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pypi_README.md: Add separate README for use in the pypi package
Signed-off-by: Øyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
- Loading branch information
1 parent
8fea144
commit 4bb5148
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
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](https://datatracker.ietf.org/doc/rfc8610/) 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](https://zephyrproject.org/). | ||
|
||
Please visit the [Github repository](https://github.com/NordicSemiconductor/zcbor) for more information about this Python package, and the C library. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters