Home
last modified time | relevance | path

Searched +full:python +full:- +full:version (Results 1 – 6 of 6) sorted by relevance

/zcbor-latest/.github/workflows/
Drun-tests.yaml6 - cron: '0 0 * * 0' # every sunday
14 merge-test-1:
15 runs-on: ubuntu-22.04
19 asserts: ["", "-x VERBOSE=ON -x ASSERTS=ON"]
20 …name: Merge test 1 - Twister (Ubuntu) (${{ matrix.platform }}${{ matrix.asserts != '' && ' with as…
22 - name: Checkout the code
25 - name: Install zcbor
28 - name: Prepare and run tests
31 …twister_arguments: "--timestamps --platform ${{ matrix.platform }} ${{ matrix.asserts }} --exclude
35 merge-test-1-win:
[all …]
/zcbor-latest/
Dpyproject.toml4 # SPDX-License-Identifier: Apache-2.0
7 [build-system]
9 build-backend = 'setuptools.build_meta'
16 requires-python = ">=3.8"
18 'Development Status :: 4 - Beta',
21 'Programming Language :: Python :: 3',
29 dynamic = ['dependencies', 'version']
39 package-dir = {zcbor = '.'}
41 [tool.setuptools.package-data]
45 version = {file = 'zcbor/VERSION'}
[all …]
DREADME.md5 It comes with a schema-driven script tool that can validate your data, or even generate code.
14 …y zcbor is CDDL (Concise Data Definition Language) which is a powerful human-readable data descrip…
22 - C code:
23- As a low-footprint CBOR decoding/encoding library similar to TinyCBOR/QCBOR/NanoCBOR. The librar…
24- To generate C code (using the Python script) for validating and decoding or encoding CBOR, for u…
25 - Python script and module ([More information](#python-script-and-module)):
26 - Validate a YAML/JSON file and translate it into CBOR e.g. for transmission.
27 - Validate a YAML/JSON/CBOR file before processing it with some other tool
28 - Decode and validate incoming CBOR data into human-readable YAML/JSON.
29 - As part of a python script that processes YAML/JSON/CBOR files.
[all …]
DRELEASE_NOTES.md1 # zcbor v. 0.9.1 (2024-10-17)
19 # zcbor v. 0.9.0 (2024-08-27)
26 * Allow --file-header to accept a path to a file with header contents
30 * Convert function docs in comments to pep-257 docstrings and add some new docstrings
33 …* zcbor_decode: Allow deciding at run-time whether to enforce canonical data (via 'enforce_canonic…
59 * zcbor_tags.h: Typo fix YANK -> YANG
78 # zcbor v. 0.8.1 (2024-01-26)
82 See also the [release notes for 0.8.0](#zcbor-v-080-2024-01-09) below.
111 # zcbor v. 0.8.0 (2024-01-09)
135 * zcbor.py: Make generated variable names C-compatible.
[all …]
/zcbor-latest/tests/scripts/
Dtest_repo_files.py5 # SPDX-License-Identifier: Apache-2.0
54 """Run codestyle tests on all Python scripts in the repo."""
62 return int(search(r'\A\d+', in_str)[0]) # e.g. '0rc' -> '0'
69 self.assertEqual(exp_retcode, call0.returncode, stderr0.decode('utf-8'))
75 with open(path / 'README.md', 'r', encoding="utf-8") as f:
94 output_run += output.decode('utf-8')
106 """Check the zcbor-generated code for the "pet" sample"""
107 regenerate = Popen(["python3", p_regenerate_samples, "--check"])
114 with p.open('r', encoding="utf-8") as f:
122 "SPDX-License-Identifier: Apache-2.0")
[all …]
/zcbor-latest/zcbor/
Dzcbor.py5 # SPDX-License-Identifier: Apache-2.0
29 from importlib.metadata import version
38 VERSION_PATH = SCRIPT_PATH / "VERSION"
42 __version__ = VERSION_PATH.read_text(encoding="utf-8").strip()
54 INT8_MIN = -0x80
55 INT16_MIN = -0x8000
56 INT32_MIN = -0x80000000
57 INT64_MIN = -0x8000000000000000
135 len_str = f"""sizeof({f'"{value}"'}) - 1, &tmp_str)"""
166 if len(decl) != 0 and decl[-1][-1] != ";":
[all …]