{"id":13741239,"url":"https://github.com/skysky97/Candb","last_synced_at":"2025-05-08T21:32:56.040Z","repository":{"id":186030136,"uuid":"94180614","full_name":"skysky97/Candb","owner":"skysky97","description":"Generate CAN dbc file with OEM defined CAN matrix (*.xls).","archived":false,"fork":false,"pushed_at":"2020-03-20T18:07:39.000Z","size":24,"stargazers_count":46,"open_issues_count":2,"forks_count":38,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-08-04T04:07:36.046Z","etag":null,"topics":["can-bus","canoe","dbc","matrix"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/skysky97.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2017-06-13T07:00:56.000Z","updated_at":"2024-06-18T20:08:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"b2d26616-6463-4ff2-9a23-91cbee5d744c","html_url":"https://github.com/skysky97/Candb","commit_stats":null,"previous_names":["skysky97/candb"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skysky97%2FCandb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skysky97%2FCandb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skysky97%2FCandb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skysky97%2FCandb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skysky97","download_url":"https://codeload.github.com/skysky97/Candb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224774698,"owners_count":17367780,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["can-bus","canoe","dbc","matrix"],"created_at":"2024-08-03T04:00:57.124Z","updated_at":"2024-11-15T11:31:01.204Z","avatar_url":"https://github.com/skysky97.png","language":"Python","funding_links":[],"categories":["CAN Database"],"sub_categories":["Converters and Parsers"],"readme":"# Introduction\nGenerate CAN dbc file with OEM defined CAN matrix (*.xls). Class `CanDatabase` represents the CAN network and the architecture is similar to Vector Candb++.\n\n# Manul\n## Install\n1. Put file path of 'candb.cmd' into system evironment variables.\n2. Modify 'candb.py' file path in 'candb.cmd'.\n\n## Command\nSeveral command can be used in Command Line:\n- `candb -h` show command help.\n- `candb gen` generate dbc from excel.\n\n### Usage\ncandb [-h] [-s SHEETNAME] [-t TEMPLATE] [-d] {gen} filename\n- `gen` command is used to generate dbc from excel.\n- `filename` the path of excle.\n- `-s` specify a sheetname used in the excle workbook, optinal.\n- `-t` specify a template to parse excel, optional. If not given, template is generated automatically.\n- `-d` show more debug info.\n\n### Example\n```C\ncandb gen SAIC_XXXX.xls\n```\n\n## Import as module\nUse method `import_excel` to load network from excel. Parameters are defined as below:\u003cbr\u003e\n* path:     Matrix file's path\n* sheet:    Sheet name of matrix in the excel\n* template: Template file which descripes matrix format\n\nUse method `save` to write to file.\u003cbr\u003e \n```python\ndatabase = CanDatabase()\ndatabase.import_excel(\"BAIC_IPC_Matrix_CAN_20161008.xls\", \"IPC\", \"b100k_gasoline\")\ndatabase.save()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskysky97%2FCandb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskysky97%2FCandb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskysky97%2FCandb/lists"}