Searched full:python (Results 1 – 8 of 8) sorted by relevance
| /zcbor-latest/.github/workflows/ |
| D | run-tests.yaml | 87 …python %ZEPHYR_BASE%\scripts\twister -i -v -T tests -W --timestamps --platform ${{ matrix.platform… 94 python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] 95 name: Merge tests 2 - Python (${{ matrix.python-version }}) functional tests (Ubuntu) 100 - name: Setup Python 101 uses: actions/setup-python@v5 103 python-version: ${{ matrix.python-version }} 111 - name: Run python tests 118 name: Merge tests 2 - Python (${{ matrix.python-version }}) functional tests (Windows) 136 python -m build; if($LastExitCode -ne 0) {Write-Error "$LastExitCode"}; 141 - name: Run python tests [all …]
|
| /zcbor-latest/ |
| D | ARCHITECTURE.md | 4 Since zcbor is a Python script that generates C code, this document is split into two sections: 6 1. Architecture of the Python script 9 Architecture of the Python script 71 3. Bar, which has `self.type = "LIST"`, and `self.value` is a python `list` containing the above ob… 107 Or they can decode binary CBOR and write python code to inspect it, or just convert it back into YA… 109 …of different representations like CBOR/YAML/JSON strings, but also internal Python representations. 116 - [json](https://docs.python.org/3/library/json.html) 119 The representation for all three is 1-to-1 with the corresponding Python types, (list -> list, map … 120 In addition, the following proprietary Python classes are used: `cbor2.CBORTag` for CBOR tags, `cbo…
|
| D | pyproject.toml | 16 requires-python = ">=3.8" 21 'Programming Language :: Python :: 3',
|
| D | pypi_README.md | 19 …://github.com/NordicSemiconductor/zcbor) for more information about this Python package, and the C…
|
| D | README.md | 23 …to TinyCBOR/QCBOR/NanoCBOR. The library can be used independently of the Python script. ([More inf… 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)): 29 - As part of a python script that processes YAML/JSON/CBOR files. 108 Python script and module 136 Importing zcbor in a Python script 143 …aml (PyYAML)](https://pypi.org/project/PyYAML/), and [json](https://docs.python.org/3/library/json… 144 …ation types (map, list, string, number etc.) are mapped directly to the corresponding Python types. 269 In this file there are also tests for code style of all python scripts, using the `pycodestyle` lib… 401 Since CBOR, YAML, and JSON are all represented in roughly the same way internally in Python, it was…
|
| D | RELEASE_NOTES.md | 324 * Test on multiple Python versions 373 ### Command line and Python module 485 ### Python module
|
| /zcbor-latest/tests/scripts/ |
| D | test_repo_files.py | 54 """Run codestyle tests on all Python scripts in the repo.""" 215 "Skip on Python < 3.10 because of different wording in argparse output.")
|
| /zcbor-latest/zcbor/ |
| D | zcbor.py | 724 Used with the "UNION" type, which has a python list as self.value. The list represents the 1376 Decode and validate CBOR into Python structures to be able to make Python scripts that 1382 """Format a Python object for printing by adding newlines and indentation.""" 1442 """Return our expected python type as returned by cbor2.""" 1711 """CBOR object => python object""" 1724 """YAML => python object""" 1731 """CBOR bytestring => python object"""
|