canvouch 0.2.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- canvouch-0.2.1.dist-info/METADATA +313 -0
- canvouch-0.2.1.dist-info/RECORD +64 -0
- canvouch-0.2.1.dist-info/WHEEL +5 -0
- canvouch-0.2.1.dist-info/entry_points.txt +3 -0
- canvouch-0.2.1.dist-info/licenses/LICENSE +21 -0
- canvouch-0.2.1.dist-info/top_level.txt +3 -0
- cli/__init__.py +1 -0
- cli/main.py +804 -0
- crc_checker/__init__.py +3 -0
- crc_checker/bit_utils.py +167 -0
- crc_checker/config.py +854 -0
- crc_checker/core/__init__.py +17 -0
- crc_checker/core/models.py +103 -0
- crc_checker/crc/__init__.py +7 -0
- crc_checker/crc/classify.py +151 -0
- crc_checker/crc/custom.py +36 -0
- crc_checker/crc/engine.py +233 -0
- crc_checker/crc/models.py +18 -0
- crc_checker/crc/presets.py +144 -0
- crc_checker/crc/profiles.py +152 -0
- crc_checker/data/dataid_mappings.yaml +74 -0
- crc_checker/data/patterns.yaml +40 -0
- crc_checker/dataid/__init__.py +19 -0
- crc_checker/dataid/excel.py +381 -0
- crc_checker/dataid/mappings.py +144 -0
- crc_checker/dataid/matching.py +71 -0
- crc_checker/dataid/models.py +214 -0
- crc_checker/dataid/multi.py +78 -0
- crc_checker/dataid/parser.py +65 -0
- crc_checker/dataid/rows.py +268 -0
- crc_checker/dbc/__init__.py +11 -0
- crc_checker/dbc/models.py +692 -0
- crc_checker/dbc/parser.py +243 -0
- crc_checker/dbc/resolver.py +288 -0
- crc_checker/env.py +19 -0
- crc_checker/errors.py +24 -0
- crc_checker/file_types.py +9 -0
- crc_checker/patterns.py +201 -0
- crc_checker/protect/__init__.py +7 -0
- crc_checker/protect/base.py +52 -0
- crc_checker/protect/checksum.py +146 -0
- crc_checker/protect/rolling_counter.py +216 -0
- crc_checker/report/__init__.py +5 -0
- crc_checker/report/html.py +868 -0
- crc_checker/report/serializer.py +109 -0
- crc_checker/report/trends.py +376 -0
- crc_checker/trace/__init__.py +6 -0
- crc_checker/trace/models.py +5 -0
- crc_checker/trace/reader.py +218 -0
- crc_checker/verify/__init__.py +6 -0
- crc_checker/verify/cancellation.py +38 -0
- crc_checker/verify/engine.py +164 -0
- crc_checker/verify/models.py +147 -0
- crc_checker/verify/runner.py +390 -0
- webapp/__init__.py +6 -0
- webapp/catalog.py +309 -0
- webapp/main.py +602 -0
- webapp/paths.py +34 -0
- webapp/schemas.py +100 -0
- webapp/service.py +856 -0
- webapp/static/dist/assets/index-CmxDn-IB.js +81 -0
- webapp/static/dist/assets/index-D2k6H3kk.css +1 -0
- webapp/static/dist/index.html +13 -0
- webapp/version.py +114 -0
|
@@ -0,0 +1,313 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: canvouch
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: DBC-aware CRC, rolling-counter and E2E protection verification for CAN traces
|
|
5
|
+
Author: CanVouch contributors
|
|
6
|
+
License-Expression: MIT
|
|
7
|
+
Project-URL: Homepage, https://github.com/zhaojiale2021/canvouch
|
|
8
|
+
Project-URL: Repository, https://github.com/zhaojiale2021/canvouch
|
|
9
|
+
Project-URL: Issues, https://github.com/zhaojiale2021/canvouch/issues
|
|
10
|
+
Project-URL: Changelog, https://github.com/zhaojiale2021/canvouch/releases
|
|
11
|
+
Keywords: can,can-bus,dbc,crc,e2e,automotive,trace
|
|
12
|
+
Classifier: Development Status :: 4 - Beta
|
|
13
|
+
Classifier: Environment :: Console
|
|
14
|
+
Classifier: Intended Audience :: Developers
|
|
15
|
+
Classifier: Programming Language :: Python :: 3
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
18
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
19
|
+
Classifier: Topic :: Software Development :: Quality Assurance
|
|
20
|
+
Classifier: Topic :: Software Development :: Testing
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Description-Content-Type: text/markdown
|
|
23
|
+
License-File: LICENSE
|
|
24
|
+
Requires-Dist: python-can>=4.5
|
|
25
|
+
Requires-Dist: canmatrix>=1.1
|
|
26
|
+
Requires-Dist: click>=8.1
|
|
27
|
+
Requires-Dist: openpyxl>=3.0
|
|
28
|
+
Requires-Dist: xlrd>=2.0
|
|
29
|
+
Requires-Dist: PyYAML>=6.0
|
|
30
|
+
Provides-Extra: web
|
|
31
|
+
Requires-Dist: fastapi>=0.110; extra == "web"
|
|
32
|
+
Requires-Dist: uvicorn>=0.29; extra == "web"
|
|
33
|
+
Requires-Dist: python-multipart>=0.0.9; extra == "web"
|
|
34
|
+
Provides-Extra: mf4
|
|
35
|
+
Requires-Dist: python-can[mf4]>=4.5; extra == "mf4"
|
|
36
|
+
Provides-Extra: dev
|
|
37
|
+
Requires-Dist: pytest>=8; extra == "dev"
|
|
38
|
+
Requires-Dist: pytest-cov; extra == "dev"
|
|
39
|
+
Requires-Dist: httpx>=0.27; extra == "dev"
|
|
40
|
+
Requires-Dist: jsonschema>=4; extra == "dev"
|
|
41
|
+
Requires-Dist: pylint==4.1.3; extra == "dev"
|
|
42
|
+
Dynamic: license-file
|
|
43
|
+
|
|
44
|
+
<div align="center">
|
|
45
|
+
|
|
46
|
+
# CanVouch
|
|
47
|
+
|
|
48
|
+
*Every frame vouched for.*
|
|
49
|
+
|
|
50
|
+
DBC-aware CAN bus CRC / rolling-counter verification for BLF, ASC, MF4 and TRC traces.
|
|
51
|
+
|
|
52
|
+
[](https://opensource.org/licenses/MIT)
|
|
53
|
+
[](https://www.python.org/)
|
|
54
|
+
[](https://github.com/zhaojiale2021/canvouch/actions/workflows/ci.yml)
|
|
55
|
+
|
|
56
|
+
[English](./README.md) | [๐ ไธญๆ](./docs/zh-CN/README.md)
|
|
57
|
+
|
|
58
|
+
</div>
|
|
59
|
+
|
|
60
|
+
---
|
|
61
|
+
|
|
62
|
+
| Web UI | Verification result | Self-contained HTML report |
|
|
63
|
+
| --- | --- | --- |
|
|
64
|
+
|  |  |  |
|
|
65
|
+
|
|
66
|
+
---
|
|
67
|
+
|
|
68
|
+
Point it at a DBC and a captured trace. It finds the checksum and rolling-counter
|
|
69
|
+
signals by name, computes the expected values with the configured algorithm, and
|
|
70
|
+
reports every mismatch with a self-contained HTML report. No vehicle-specific
|
|
71
|
+
code: signal-name patterns and DataID workbook layouts are configuration files.
|
|
72
|
+
|
|
73
|
+
The repository ships **only synthetic example data**.
|
|
74
|
+
|
|
75
|
+
## ๐ 30-second start
|
|
76
|
+
|
|
77
|
+
```bash
|
|
78
|
+
git clone https://github.com/zhaojiale2021/canvouch.git
|
|
79
|
+
cd canvouch
|
|
80
|
+
pip install -r requirements.txt
|
|
81
|
+
|
|
82
|
+
# Run the bundled example (CLI; no packaging step, no .exe)
|
|
83
|
+
python -m cli.main run -c examples/example/config.json -v
|
|
84
|
+
|
|
85
|
+
# Optional: install the `canvouch` command
|
|
86
|
+
pip install -e .
|
|
87
|
+
canvouch run -c examples/example/config.json -v
|
|
88
|
+
canvouch presets
|
|
89
|
+
canvouch inspect examples/example/dbc/network.dbc
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Expected output: 160 frames, 320 checks, 100 % pass.
|
|
93
|
+
|
|
94
|
+
```bash
|
|
95
|
+
# Deliberately broken example โ failures + RC error trends
|
|
96
|
+
python -m cli.main run -c examples/example/config_bad.json -v
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
Table output lists failures only by default; add `--show-all` to print every
|
|
100
|
+
verdict. Use it as a gate: `--fail-on-failure` exits 1 on any failed check, and
|
|
101
|
+
`--min-pass-rate 99.5` exits 1 below the threshold (both also work on
|
|
102
|
+
`canvouch verify`; the pre-rename `crc-check` command still works as an alias).
|
|
103
|
+
|
|
104
|
+
```bash
|
|
105
|
+
canvouch run -c examples/example/config.json --fail-on-failure
|
|
106
|
+
```
|
|
107
|
+
|
|
108
|
+
MF4/MDF traces need python-can's optional reader; `requirements.txt` already
|
|
109
|
+
installs it. For a bare `pip install -e .`, add it with
|
|
110
|
+
`pip install "python-can[mf4]"` (or `pip install -e ".[mf4]"`).
|
|
111
|
+
|
|
112
|
+
### Docker
|
|
113
|
+
|
|
114
|
+
```bash
|
|
115
|
+
docker build -t canvouch .
|
|
116
|
+
docker run --rm -p 8000:8000 canvouch
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
The image bundles the synthetic example project and serves the web UI on port
|
|
120
|
+
8000. Pushing a `v*` tag runs `release.yml`, which verifies the tag against
|
|
121
|
+
`crc_checker.__version__`, runs the test suite, and publishes the wheel to PyPI
|
|
122
|
+
and the image to GHCR (the PyPI trusted publisher must be configured once in
|
|
123
|
+
the repository settings).
|
|
124
|
+
|
|
125
|
+
## ๐ Web version
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
./run_web.sh 8000 # Windows: run_web.bat 8000
|
|
129
|
+
# http://127.0.0.1:8000
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Two ways to run: pick a **project id**, or switch to **manual mode** and upload
|
|
133
|
+
DBC file(s) + a trace (plus an optional DataID file), then fill in the config
|
|
134
|
+
options (algorithm, range, DataID layout, filters) on the page. A project's
|
|
135
|
+
bundled sample traces are one click away โ no download-then-upload detour.
|
|
136
|
+
The browser only sends project ids or uploaded files; paths stay server-side.
|
|
137
|
+
Set `CANVOUCH_API_TOKEN` to require `X-API-Token` (or `Authorization: Bearer`)
|
|
138
|
+
on every `/api/*` call; the value is entered in the UI's version dialog and kept
|
|
139
|
+
in the browser's localStorage. Upload caps: 200 MB per file and 400 MB per
|
|
140
|
+
request by default (`CANVOUCH_MAX_UPLOAD_MB` / `CANVOUCH_MAX_REQUEST_MB`).
|
|
141
|
+
Projects are scanned from `projects/` (or `examples/` when `projects/` does not
|
|
142
|
+
exist; override with `CANVOUCH_PROJECTS_DIR`). The Vue frontend is committed
|
|
143
|
+
as `frontend/dist`, so a deployment machine needs no Node. The launcher binds to
|
|
144
|
+
`127.0.0.1` by default; set `CANVOUCH_WEB_HOST` or pass a host argument to opt into
|
|
145
|
+
LAN binding. The web server has no authentication, so network exposure should be
|
|
146
|
+
behind an authenticated reverse proxy or equivalent access controls. See
|
|
147
|
+
[docs/web-api.md](docs/web-api.md).
|
|
148
|
+
|
|
149
|
+
Server environment variables use the `CANVOUCH_` prefix (`CANVOUCH_DATA_DIR`, `CANVOUCH_PROJECTS_DIR`, `CANVOUCH_API_TOKEN`, `CANVOUCH_MAX_UPLOAD_MB`, `CANVOUCH_MAX_REQUEST_MB`); the pre-rename `CRC_CHECKER_*` / `CRC_WEB_*` names are still accepted as fallbacks.
|
|
150
|
+
|
|
151
|
+
## ๐ What you get
|
|
152
|
+
|
|
153
|
+
| When you needโฆ | What it does |
|
|
154
|
+
| --- | --- |
|
|
155
|
+
| **Find protection signals automatically** | Prefix (`Checksum_*`, `CRC_*`) and suffix (`*_CRC`, `*_Counter`) naming, indexed E2E instances, sensor bus markers, block-counter exclusion โ all driven by YAML regexes |
|
|
156
|
+
| **Verify E2E profiles** | Profile 5 (CRC16/CCITT, DataID append, byte swap) and Profile 1/1A (CRC8/SAE-J1850-ZERO, DataID prepend, 4-bit counter) |
|
|
157
|
+
| **Non-CRC checksums** | SUM8, SUM8/XOR-FF, XOR8/SEED, selected per message from DBC comments |
|
|
158
|
+
| **Many trace formats** | BLF, ASC, MF4, TRC, CSV/LOG via python-can (MF4 via the `python-can[mf4]` extra) |
|
|
159
|
+
| **Big traces** | Streaming verification, cached CRC engines, decimated RC trend charts, report size guard |
|
|
160
|
+
| **CI gating** | `--fail-on-failure` / `--min-pass-rate`; the frame cap is never silent |
|
|
161
|
+
| **DataID tables** | `.xlsx`, legacy `.xls` and preprocessed JSON; named column layouts from YAML |
|
|
162
|
+
| **Reproducible results** | CLI and web share one runner (`crc_checker/verify/runner.py`) |
|
|
163
|
+
|
|
164
|
+
## ๐งฎ Supported algorithms
|
|
165
|
+
|
|
166
|
+
Verified with real data means the algorithm reproduced expected values on
|
|
167
|
+
captured CAN traces during development. Everything else is implemented and
|
|
168
|
+
unit-tested against known-answer vectors, but **not verified with real data** โ
|
|
169
|
+
`canvouch presets` prints the same status.
|
|
170
|
+
|
|
171
|
+
| Preset | Use | Status |
|
|
172
|
+
| --- | --- | --- |
|
|
173
|
+
| `CRC16/CCITT` | AUTOSAR E2E Profile 5 | โ
verified with real data |
|
|
174
|
+
| `CRC8/SAE-J1850-ZERO` | AUTOSAR E2E Profile 1 / 1A | โ
verified with real data |
|
|
175
|
+
| `CRC8/SAE-J1850` | DBC-comment checksums | โ
verified with real data |
|
|
176
|
+
| `SUM8/XOR-FF` | sum of bytes `& 0xFF`, then `XOR 0xFF` | โ
verified with real data |
|
|
177
|
+
| `XOR8/SEED` | byte-wise XOR with a constant seed | โ
verified with real data |
|
|
178
|
+
| `SUM8` | plain additive sum `& 0xFF` | โ
verified (wider variants unverified) |
|
|
179
|
+
| `CRC8/AUTOSAR`, `CRC8/H2F`, `CRC16/ARC`, `CRC16/MODBUS`, `CRC32/AUTOSAR`, `CRC32/ETHERNET`, `XOR8` | โ | โ ๏ธ not verified with real data |
|
|
180
|
+
|
|
181
|
+
Details and promotion checklist: [docs/supported-algorithms.md](docs/supported-algorithms.md).
|
|
182
|
+
|
|
183
|
+
## ๐งฉ Extending without code changes
|
|
184
|
+
|
|
185
|
+
**New signal naming** โ add a regex to
|
|
186
|
+
[`crc_checker/data/patterns.yaml`](crc_checker/data/patterns.yaml):
|
|
187
|
+
|
|
188
|
+
```yaml
|
|
189
|
+
checksum:
|
|
190
|
+
prefix: ['(?i)^(checksum|check_sum|crc|e2e_crc)']
|
|
191
|
+
suffix: ['(?i)(_crc|_checksum|_chks)([0-9_]*)$']
|
|
192
|
+
rolling_counter:
|
|
193
|
+
prefix: ['(?i)^(rolling.?counter|rc_|alive.?counter)']
|
|
194
|
+
suffix: ['(?i)(_counter|_cntr|_msgcntr)([0-9_]*)$']
|
|
195
|
+
exclude: ['(?i)block_?counter']
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
Or point `signals.patterns_file` at your own YAML, or use
|
|
199
|
+
`signals.checksum_patterns` / `signals.rc_patterns` inline.
|
|
200
|
+
|
|
201
|
+
**New DataID workbook layout** โ add a named mapping to
|
|
202
|
+
[`crc_checker/data/dataid_mappings.yaml`](crc_checker/data/dataid_mappings.yaml),
|
|
203
|
+
then select it with `dataid.mapping`. Use `dataid.mapping_file` for a separate
|
|
204
|
+
file. Built-in names: `hi_lo_two_cols`, `single_16bit`, `generic_abc`,
|
|
205
|
+
`simple_8bit`, `description_regex`.
|
|
206
|
+
|
|
207
|
+
**New project** โ put `config.json` (+ DBC / DataID / trace) under `projects/`.
|
|
208
|
+
|
|
209
|
+
### Generate a project config with an AI assistant
|
|
210
|
+
|
|
211
|
+
Copy this prompt and attach or provide the DBC, trace, and optional DataID files:
|
|
212
|
+
|
|
213
|
+
```text
|
|
214
|
+
Create a CanVouch project configuration for my CAN data.
|
|
215
|
+
|
|
216
|
+
Please:
|
|
217
|
+
1. Identify the DBC file(s), trace file(s), and optional DataID Excel/JSON input.
|
|
218
|
+
2. Inspect the DBC protection signals and suggest a CRC preset, range, and DataID layout.
|
|
219
|
+
3. Produce `config.json` with paths, algorithm settings, frame filters, and HTML output.
|
|
220
|
+
4. Keep every input path relative to the generated config file.
|
|
221
|
+
5. Add comments explaining assumptions that need checking.
|
|
222
|
+
6. Validate the final JSON and report the exact `canvouch run -c <config> -v` command.
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
## โ๏ธ Configuration
|
|
226
|
+
|
|
227
|
+
A run is a JSON file (`canvouch gen-config` writes an annotated example). The
|
|
228
|
+
main sections:
|
|
229
|
+
|
|
230
|
+
| Section | Field | Description |
|
|
231
|
+
| --- | --- | --- |
|
|
232
|
+
| top level | `dbc` / `dbcs` | One DBC path, or a list of files/directories |
|
|
233
|
+
| | `dbc_merge` | Merge several DBCs into one map instead of selecting per trace channel |
|
|
234
|
+
| `crc` | `preset` | Preset name, or `custom` for inline parameters |
|
|
235
|
+
| | `byte_swap` | Swap computed CRC bytes (Profile 5) |
|
|
236
|
+
| | `auto_classify` | Pick the algorithm per message from DBC comments |
|
|
237
|
+
| | `profile_by_width` | 2-byte CRC โ Profile 5, 1-byte โ Profile 1 |
|
|
238
|
+
| | `profiles` | Per-profile overrides (algorithm, DataID layout, range, counter max) |
|
|
239
|
+
| | `range_overrides` / `skip` | Per-message range / unverified signals |
|
|
240
|
+
| `range` | `mode` | `exclude_crc` / `full_payload` / `custom_range` |
|
|
241
|
+
| | `start_byte` / `end_byte` | Range for `custom_range` (`-1` = end of payload) |
|
|
242
|
+
| `dataid` | `json` / `xlsx` | Preprocessed JSON (fast) or Excel workbook |
|
|
243
|
+
| | `mapping` / `mapping_file` | DataID column layout |
|
|
244
|
+
| | `position` / `byte_order` / `default` | `prepend`/`append`, `lo_hi`/`hi_lo`, fallback DataID |
|
|
245
|
+
| `signals` | `patterns_file` | Custom signal-name YAML |
|
|
246
|
+
| | `checksum_pattern(s)` / `rc_pattern(s)` | Regex overrides |
|
|
247
|
+
| `filter` | `frame_ids` / `max_frames` | CAN ID filter; frame cap (`0` = unlimited, default 6000) |
|
|
248
|
+
| `rc` | `max_valid` | Max valid counter value (default `2^bits - 1`) |
|
|
249
|
+
| `output` | `format` / `file` / `only_failures` | `table` or `html`, path, failures-only view |
|
|
250
|
+
| | `max_report_sections` | Frame-section cap (default 30 000, 0 = unlimited) |
|
|
251
|
+
|
|
252
|
+
Full schema: `crc_checker/config.py` (`CONFIG_SCHEMA_DOC`). Editors can use
|
|
253
|
+
[`config.schema.json`](config.schema.json) for completion and validation
|
|
254
|
+
(`"$schema": "./config.schema.json"` in your config file).
|
|
255
|
+
|
|
256
|
+
## ๐ Repository layout
|
|
257
|
+
|
|
258
|
+
```
|
|
259
|
+
crc_checker/ Core package
|
|
260
|
+
crc/ CRC engine, presets, E2E profiles, comment classifier
|
|
261
|
+
dbc/ DBC parser + signal resolver
|
|
262
|
+
dataid/ DataID Excel/JSON parser
|
|
263
|
+
trace/ Trace reader (BLF/ASC/MF4/TRC/CSV)
|
|
264
|
+
protect/ CRC and rolling-counter verifiers
|
|
265
|
+
verify/ Verification orchestration (shared by CLI and web)
|
|
266
|
+
report/ Self-contained HTML report + RC trend charts
|
|
267
|
+
data/ Shipped pattern and DataID-mapping defaults
|
|
268
|
+
cli/ Click CLI (python -m cli.main)
|
|
269
|
+
webapp/ FastAPI backend
|
|
270
|
+
frontend/ Vue 3 + Element Plus (dist committed)
|
|
271
|
+
examples/ Synthetic example project + generator
|
|
272
|
+
tests/ pytest suite
|
|
273
|
+
```
|
|
274
|
+
|
|
275
|
+
## ๐งช Development
|
|
276
|
+
|
|
277
|
+
```bash
|
|
278
|
+
pytest --tb=short --cov=crc_checker --cov=cli --cov=webapp \
|
|
279
|
+
--cov-report=term --cov-fail-under=80 # CI backend test command
|
|
280
|
+
pylint $(git ls-files '*.py') # must stay 10.00/10
|
|
281
|
+
cd frontend && npm run lint # eslint
|
|
282
|
+
cd frontend && npm run format:check # prettier
|
|
283
|
+
cd frontend && npm test # node --test (pure logic)
|
|
284
|
+
cd frontend && npm run test:component # vitest (@vue/test-utils)
|
|
285
|
+
cd frontend && npm ci && npm run build # rebuild committed dist
|
|
286
|
+
python examples/generate_example.py # regenerate the example
|
|
287
|
+
```
|
|
288
|
+
|
|
289
|
+
CI runs pylint and coverage-gated pytest on Python 3.11, 3.12 and 3.13, plus a
|
|
290
|
+
Windows pytest job and frontend lint/tests/build freshness checks. The pre-push
|
|
291
|
+
hook runs pylint and the same 80%-coverage backend pytest command using Python
|
|
292
|
+
3.11 when `uv` is installed; otherwise it uses the active Python environment.
|
|
293
|
+
It does not replace the full CI matrix or frontend checks.
|
|
294
|
+
|
|
295
|
+
## ๐ค Contributing
|
|
296
|
+
|
|
297
|
+
Issues and pull requests are welcome. Before opening a PR, run the development
|
|
298
|
+
checks above; CI additionally covers the Python matrix, Windows, frontend
|
|
299
|
+
checks, and committed-`dist` freshness.
|
|
300
|
+
|
|
301
|
+
## ๐ License
|
|
302
|
+
|
|
303
|
+
MIT. See [LICENSE](./LICENSE).
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
<div align="center">
|
|
308
|
+
|
|
309
|
+
**DBC in, trace in, verdicts out โ no customer-specific code paths.**
|
|
310
|
+
|
|
311
|
+
[โญ Star us on GitHub](https://github.com/zhaojiale2021/canvouch) ยท [๐ Report Issues](https://github.com/zhaojiale2021/canvouch/issues)
|
|
312
|
+
|
|
313
|
+
</div>
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
canvouch-0.2.1.dist-info/licenses/LICENSE,sha256=KhjJD0UuC1T9LCXfOSd_SQrY7t2czyvRVT-OZDs4Heg,1085
|
|
2
|
+
cli/__init__.py,sha256=JV_dofWVjc9_cNiMk7O76JyTV1yovyu52qsY71NDYHg,23
|
|
3
|
+
cli/main.py,sha256=x9MS7WY7F9hBu-Lch_CoQqyH5jsqsp7cl-TXLoUUS3s,36288
|
|
4
|
+
crc_checker/__init__.py,sha256=JrOWg1mLYCqwSQLj07wzqqmtDf27XHxU32JvTBsr4d0,99
|
|
5
|
+
crc_checker/bit_utils.py,sha256=kr6uHo41CXQfhwqV7vJSFWO6o0_g9uQOItrpOwxON4U,5929
|
|
6
|
+
crc_checker/config.py,sha256=hQ_rPZRWt91ZDOqG1qDUJLmW6vw_P3fHdAmEUGqNzT8,37140
|
|
7
|
+
crc_checker/env.py,sha256=eDcZSKBdny_s4gdYQgqh6ZDseAo5Q75doFgr5-gscAc,622
|
|
8
|
+
crc_checker/errors.py,sha256=bRil0WfaSCnAtfP_7lCLFYJDklVFrhj-lgBK4Xl8p5M,642
|
|
9
|
+
crc_checker/file_types.py,sha256=_mGaoXa_qPr-_VR_lq5abglQolSKJuWy_imnBRsGl4g,301
|
|
10
|
+
crc_checker/patterns.py,sha256=VaBnetO7Qqi7082fAg7QPHjidLqagxIwJlbpvrpx7eM,8535
|
|
11
|
+
crc_checker/core/__init__.py,sha256=VmafGAo7HnE6Dz9R-tIYwlKfxUpIwAeW50ysVNw_w6k,296
|
|
12
|
+
crc_checker/core/models.py,sha256=U7PVrNhZPsXRwoIzMyez0P2idRYnYCrpXIfckQFDXiQ,4301
|
|
13
|
+
crc_checker/crc/__init__.py,sha256=EWnPOFOI257VgJrYZDEHKEvozQ5EY1b0OGVnKNXGRjk,287
|
|
14
|
+
crc_checker/crc/classify.py,sha256=rxh8qTOgvjTA212UAD2LIUFiHX8mpbp_IXaCjCsBA5w,6670
|
|
15
|
+
crc_checker/crc/custom.py,sha256=ToNqLvIjVJGoXactTtsWNPueSXxb7ebwrzp3fzZ7Op8,1187
|
|
16
|
+
crc_checker/crc/engine.py,sha256=gyePBPO7r7bL5cEpT0C67m218oRJiYACgtHfrFi1JKs,10783
|
|
17
|
+
crc_checker/crc/models.py,sha256=4gpwtZR_qQpdKJjoZ5XtufCKIih2J8bW1HqTSHf1Rfo,608
|
|
18
|
+
crc_checker/crc/presets.py,sha256=vXwVfBoT1VNjQE12MVROmKzjH2ghCs7oYtzt7wayLVg,6055
|
|
19
|
+
crc_checker/crc/profiles.py,sha256=EmHtc-4TphUxL4Tpt11Mvgg0tUn1VCGGS4rm1KvPEWE,6536
|
|
20
|
+
crc_checker/data/dataid_mappings.yaml,sha256=A6ZAGjJMp95IptHIxiiMCJmLRlLOyntM0SU-OsUEcg0,2257
|
|
21
|
+
crc_checker/data/patterns.yaml,sha256=b_PTIyt2UEIUzhKMyr-buQ6KmuGEuMwiCm1_lKKpHSM,1978
|
|
22
|
+
crc_checker/dataid/__init__.py,sha256=b_DqmzM6OHsFhG6CoyZSi_fguHnWok-4YyIpLxilbzE,355
|
|
23
|
+
crc_checker/dataid/excel.py,sha256=687p24R9Vt6cnelIDUT1KgSCfEad7AG7SCsw-V7AJ2w,16192
|
|
24
|
+
crc_checker/dataid/mappings.py,sha256=Epzo1YMettxagGl1rZCbq-porr7gvhDXslI1YnbSPy0,6817
|
|
25
|
+
crc_checker/dataid/matching.py,sha256=GLTMQqAWo2w192igDsZ6BKJDsowt1mRE2svbMZEpzbg,2661
|
|
26
|
+
crc_checker/dataid/models.py,sha256=_SATB3FG4lFZAV1SlSXuK7BgwHrJAaHLGecNniOetIc,8518
|
|
27
|
+
crc_checker/dataid/multi.py,sha256=zOd2Wwc8jnl094HPhe_xV6RQ7VII5o5244fKoPWA26I,2950
|
|
28
|
+
crc_checker/dataid/parser.py,sha256=H6Fpji-INf-xiovG3YZW_C3lhWKY0nfkCNqX5-SXSzM,1705
|
|
29
|
+
crc_checker/dataid/rows.py,sha256=mSln6xFYcsLTknC_6-vpsvIVqz7ooA9wlnD7Zlljkf4,9790
|
|
30
|
+
crc_checker/dbc/__init__.py,sha256=QqHwzzYXnYJgJyEiQ1NqtcnjV5PZ3SxsMb3r5EKNhXs,408
|
|
31
|
+
crc_checker/dbc/models.py,sha256=vAtdUuKIMkIHw2E1FFL61TKccd7Jxc3JjRdXl7D_QAI,31978
|
|
32
|
+
crc_checker/dbc/parser.py,sha256=GRJw68VMCmyAVqdbksSmO_lzwhTUVVSh0B1Lo7esXio,9513
|
|
33
|
+
crc_checker/dbc/resolver.py,sha256=oy1v4VWN8NW-KiPTc3cvWSvtpS_DsHfnRHOd0YpsudQ,13133
|
|
34
|
+
crc_checker/protect/__init__.py,sha256=9Xxk8pujFF8CB0koSdEZ_aWlLN2WJDo_WJi_6uSAxIw,294
|
|
35
|
+
crc_checker/protect/base.py,sha256=LMVniGC8xxhb3oAtU3379mR1wnwvSnRXZlzlTlzXAt4,1872
|
|
36
|
+
crc_checker/protect/checksum.py,sha256=2PbS5RJwHG14LXFvgSgdcnYTOcBnL1AKVFvDAM346RY,7201
|
|
37
|
+
crc_checker/protect/rolling_counter.py,sha256=qoQSbWC-KX-XyEv9uZKx267WSlDAzKMfcMPRxCTBZ3M,9784
|
|
38
|
+
crc_checker/report/__init__.py,sha256=9K25bYkm15Oc4ItlQanhd0CMrB2N5k7H45dnWmg_6GY,99
|
|
39
|
+
crc_checker/report/html.py,sha256=XIlO9hMq1ThEZRvApZNGK4-GXO8AcN9ma4CNPXxcgxg,40726
|
|
40
|
+
crc_checker/report/serializer.py,sha256=urRXvtLhW8Oo8nUu4F-tUI4pbxQtLFDOCxJH-GgbPSw,4031
|
|
41
|
+
crc_checker/report/trends.py,sha256=mm-Nmk9lnvRClz1ltdsGSX0SCrT4B5eXKFcX0NmtmSI,15640
|
|
42
|
+
crc_checker/trace/__init__.py,sha256=uJWbQE8c7QyqGP72-d5rjBLeheyLaqu1rS505Q9viDI,194
|
|
43
|
+
crc_checker/trace/models.py,sha256=Zh1cHWHbzDmTl4vGOcYVSfugka2Bhzdk4NZt9KvTIcI,146
|
|
44
|
+
crc_checker/trace/reader.py,sha256=Gya6Rvw3Af-WRFOFOuCn-tK4n1o4cZdsZzfAeriDtD0,8858
|
|
45
|
+
crc_checker/verify/__init__.py,sha256=Cw3fU9pIBbBypyQfKPEWR2Vj2Dd9dCOZY0VzYjX2JW4,206
|
|
46
|
+
crc_checker/verify/cancellation.py,sha256=1apxdVssCwuguD_g23hxQjViX2iXU3VuEHi4DRWd6oY,1204
|
|
47
|
+
crc_checker/verify/engine.py,sha256=PkhWnbq8SCDkemvX-oPsyKhYZH522g0Pisva3pOL5nw,7224
|
|
48
|
+
crc_checker/verify/models.py,sha256=rJ6oTVR5cI9kGH17V6-7RpmCAZuGYCDf71OvWmaXWbE,6457
|
|
49
|
+
crc_checker/verify/runner.py,sha256=1Rk8PvEPomGoRkwi8Oa_Yv5PrwfK663ot3lTnRiOaaA,16953
|
|
50
|
+
webapp/__init__.py,sha256=OaZX7SWEQO801tlNBYua6WTtDSaXCeO8ggZmhYwhajI,223
|
|
51
|
+
webapp/catalog.py,sha256=PRUOdIAS5tbnrdehYtWbNT61l8z-lKOhL86QaNl4GBQ,11429
|
|
52
|
+
webapp/main.py,sha256=_KQIBDpBXeqgtjdQ5Xbyosk_KWVM8u8D1TLxF9R4GXk,26102
|
|
53
|
+
webapp/paths.py,sha256=eKonjk7knNvtu6JqXX5pENodJcuiEogrjb03uDCakXY,1355
|
|
54
|
+
webapp/schemas.py,sha256=2WFcsyFTzbu0P6XeYm8Lp1GicbCRlVRlp47WCx5ytec,2407
|
|
55
|
+
webapp/service.py,sha256=v9kr-3VaPYo4NMymFmIm8h9MBBlEvv_r6acdCwUZQXc,36777
|
|
56
|
+
webapp/version.py,sha256=cBWMTrGIyTt2vxOmxJTe56g1cQZuZlQuu8CvviOov2g,4605
|
|
57
|
+
webapp/static/dist/index.html,sha256=Rc0JFsvgJfP_d30Wxcs2lNCreszCZhjTnZYeiI_Webw,403
|
|
58
|
+
webapp/static/dist/assets/index-CmxDn-IB.js,sha256=n4FdmoRfsbEESbPcfHBEnjDKkg5KAYt15poUgGiSjqI,1082474
|
|
59
|
+
webapp/static/dist/assets/index-D2k6H3kk.css,sha256=fMoQ1Vntgq5KGKOsaS8yUhiq99XNo0EZaSb7zSn3JPU,373842
|
|
60
|
+
canvouch-0.2.1.dist-info/METADATA,sha256=0gjh2fd-_Hp8ilrH7_GrBNG_TiBUQ2PVF3B6RmatE4c,14144
|
|
61
|
+
canvouch-0.2.1.dist-info/WHEEL,sha256=mOdXR9C3wMVov7cSY8PY-XCzo3SmmWCHvGQr5csJoao,91
|
|
62
|
+
canvouch-0.2.1.dist-info/entry_points.txt,sha256=kOJKLIDOrDbTmMKBaB9gaze2cnXrr4eI3kG8Cv5zQLU,67
|
|
63
|
+
canvouch-0.2.1.dist-info/top_level.txt,sha256=XiPvhKPYmI-2QFY3MFNoCBKGvi9c2AFBQtPEMjrvriY,23
|
|
64
|
+
canvouch-0.2.1.dist-info/RECORD,,
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 CAN CRC Checker contributors
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
cli/__init__.py
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"""CLI entry point."""
|