zcbor


Namezcbor JSON
Version 0.9.1 PyPI version JSON
download
home_pageNone
SummaryCode generation and data validation using CDDL schemas
upload_time2024-10-17 13:33:24
maintainerNone
docs_urlNone
authorNordic Semiconductor ASA
requires_python>=3.8
licenseApache
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "zcbor",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "\u00d8yvind R\u00f8nningstad <oyvind.ronningstad@nordicsemi.no>",
    "keywords": null,
    "author": "Nordic Semiconductor ASA",
    "author_email": null,
    "download_url": "https://files.pythonhosted.org/packages/62/65/21d01924de3e99ddf05fb8476576307e65a64893c74296a35dd8bbc9f373/zcbor-0.9.1.tar.gz",
    "platform": null,
    "description": "zcbor\n=====\n\nAfter installing, zcbor can be invoked on the command line as `zcbor`, or included as a module via `import zcbor`.\n\nThis package has 2 uses:\n\n1. Schema-based validation and conversion of YAML/JSON/CBOR data.\n2. Generating C code that decodes/encodes and validates CBOR data according to a schema.\n\nThe schema language used by zcbor is [CDDL](https://datatracker.ietf.org/doc/rfc8610/) which allows creating very advanced and detailed schemas.\n\nThe PyPi package comes with a C library which is needed by the generated code.\nThis library is not run by the zcbor package, but in the user's project that includes zcbor-generated code.\nIf 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.\n\nThe C library also functions as a standalone CBOR C library, and is used in the [Zephyr RTOS](https://zephyrproject.org/).\n\nPlease visit the [Github repository](https://github.com/NordicSemiconductor/zcbor) for more information about this Python package, and the C library.\n",
    "bugtrack_url": null,
    "license": "Apache",
    "summary": "Code generation and data validation using CDDL schemas",
    "version": "0.9.1",
    "project_urls": {
        "Homepage": "https://github.com/NordicSemiconductor/zcbor"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0e3156f49b69a76fcd4a0c178c858b6dad3a0b36fff669e7f2895c569e9d035f",
                "md5": "6c9073107f265055c298143a548202a7",
                "sha256": "bc8bf4470f235c56d6276f162a5cd5417206335da21648ac2274f6417a18266e"
            },
            "downloads": -1,
            "filename": "zcbor-0.9.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "6c9073107f265055c298143a548202a7",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 74451,
            "upload_time": "2024-10-17T13:33:22",
            "upload_time_iso_8601": "2024-10-17T13:33:22.801085Z",
            "url": "https://files.pythonhosted.org/packages/0e/31/56f49b69a76fcd4a0c178c858b6dad3a0b36fff669e7f2895c569e9d035f/zcbor-0.9.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "626521d01924de3e99ddf05fb8476576307e65a64893c74296a35dd8bbc9f373",
                "md5": "04ca84bc956097c148cb05547a1f06de",
                "sha256": "c04918392e2dbb14c6f038d776e2ea6b09c34ba1028b045aadd7c3a95616bc38"
            },
            "downloads": -1,
            "filename": "zcbor-0.9.1.tar.gz",
            "has_sig": false,
            "md5_digest": "04ca84bc956097c148cb05547a1f06de",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 80306,
            "upload_time": "2024-10-17T13:33:24",
            "upload_time_iso_8601": "2024-10-17T13:33:24.421264Z",
            "url": "https://files.pythonhosted.org/packages/62/65/21d01924de3e99ddf05fb8476576307e65a64893c74296a35dd8bbc9f373/zcbor-0.9.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-17 13:33:24",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "NordicSemiconductor",
    "github_project": "zcbor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "zcbor"
}
        
Elapsed time: 0.32507s