Name | py-eb-model JSON |
Version |
1.0.1
JSON |
| download |
home_page | None |
Summary | The parser for EB XDM file |
upload_time | 2024-09-29 12:20:00 |
maintainer | None |
docs_url | None |
author | melodypapa |
requires_python | None |
license | proprietary |
keywords |
eb
tresos
xdm
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 1. py-eb-model
1. The python parser engine for EB Tresos Xdm file.
2. To support EB Tresos data model with python.
# 2. How to create the distribution and upload to pypi
1. Run `python setup.py bdist_wheel` to generate distribution
2. Run `twine check dist/*` to check the validation of distribution
3. Run `twine upload dist/*` to upload to pypi repository
4. Check the website https://pypi.org/project/armodel/ to find out it works or not
And more details can be found at https://packaging.python.org/
# 3. CLI
## 3.1. os-task-xlsx
Extract the Os Task information from os.xdm and then report all to Excel file.
```bash
os-xdm-xlsx data/Os.xdm data/Os.xlsx
```
**Result:**
1. OsIsrs
![](doc/os-xdm-xlsx/os_isr_in_excel.png)
1. OsTasks
![](doc/os-xdm-xlsx/os_task_in_excel.png)
3. OsScheduleTable
![](doc/os-xdm-xlsx/os_schedule_table_in_excel.png)
4. OsCounter
![](doc/os-xdm-xlsx/os_counter_in_excel.png)
## 3.2. rte-task-xls
Extract the Rte Configuration information from rte.xdm and then report all to Excel file.
1. Export the Rte Configuration information to excel file
```bash
rte-xdm-xlsx data/Rte.xdm data/Rte.xlsx
```
2. Export the Runnable Entities information to excel file
```bash
rte-xdm-xlsx -r data/Rte.xdm data/Os.xdm data/Runnable.xlsx
```
# 4. Change History
**Version 0.8.0**
1. Create the basic model for EB xdm. (Issue #1)
2. Support to extract the Os Tasks/Isrs from EB xdm and store them in the excel files. (Issue #1)
**Version 1.0.1**
1. Change the attribute to start with lowercase
2. *read_ref_value* and *read_optional_ref_value* method returns EcucRefType.
3. Read the OsScheduleTable and export to excel
4. REad the OsCounter and export to excel
Raw data
{
"_id": null,
"home_page": null,
"name": "py-eb-model",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "EB Tresos XDM",
"author": "melodypapa",
"author_email": "melodypapa@outlook.com",
"download_url": null,
"platform": null,
"description": "# 1. py-eb-model\r\n\r\n1. The python parser engine for EB Tresos Xdm file.\r\n2. To support EB Tresos data model with python.\r\n\r\n# 2. How to create the distribution and upload to pypi\r\n\r\n1. Run `python setup.py bdist_wheel` to generate distribution\r\n2. Run `twine check dist/*` to check the validation of distribution\r\n3. Run `twine upload dist/*` to upload to pypi repository\r\n4. Check the website https://pypi.org/project/armodel/ to find out it works or not\r\n\r\nAnd more details can be found at https://packaging.python.org/ \r\n\r\n# 3. CLI \r\n\r\n## 3.1. os-task-xlsx\r\n\r\nExtract the Os Task information from os.xdm and then report all to Excel file.\r\n\r\n```bash\r\nos-xdm-xlsx data/Os.xdm data/Os.xlsx\r\n```\r\n\r\n**Result:**\r\n\r\n1. OsIsrs\r\n\r\n![](doc/os-xdm-xlsx/os_isr_in_excel.png)\r\n\r\n1. OsTasks\r\n\r\n![](doc/os-xdm-xlsx/os_task_in_excel.png)\r\n\r\n3. OsScheduleTable\r\n\r\n![](doc/os-xdm-xlsx/os_schedule_table_in_excel.png)\r\n\r\n4. OsCounter\r\n\r\n![](doc/os-xdm-xlsx/os_counter_in_excel.png)\r\n\r\n## 3.2. rte-task-xls\r\n\r\nExtract the Rte Configuration information from rte.xdm and then report all to Excel file.\r\n\r\n1. Export the Rte Configuration information to excel file\r\n\r\n```bash\r\nrte-xdm-xlsx data/Rte.xdm data/Rte.xlsx\r\n```\r\n\r\n2. Export the Runnable Entities information to excel file\r\n\r\n```bash\r\nrte-xdm-xlsx -r data/Rte.xdm data/Os.xdm data/Runnable.xlsx\r\n```\r\n\r\n\r\n# 4. Change History\r\n\r\n**Version 0.8.0** \r\n\r\n1. Create the basic model for EB xdm. (Issue #1)\r\n2. Support to extract the Os Tasks/Isrs from EB xdm and store them in the excel files. (Issue #1)\r\n\r\n**Version 1.0.1**\r\n\r\n1. Change the attribute to start with lowercase \r\n2. *read_ref_value* and *read_optional_ref_value* method returns EcucRefType.\r\n3. Read the OsScheduleTable and export to excel\r\n4. REad the OsCounter and export to excel\r\n\r\n\r\n",
"bugtrack_url": null,
"license": "proprietary",
"summary": "The parser for EB XDM file",
"version": "1.0.1",
"project_urls": null,
"split_keywords": [
"eb",
"tresos",
"xdm"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "62c563b778efa3d3e9d5854bab8283502595cda9a0054662a744c2220c061616",
"md5": "8a4dfab04ebe32359c9be901b1608ebe",
"sha256": "d79c7f89101cec7bfc334e60e805d6afc6f88bb9690c048fcf3040acb07f0fbe"
},
"downloads": -1,
"filename": "py_eb_model-1.0.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "8a4dfab04ebe32359c9be901b1608ebe",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 32516,
"upload_time": "2024-09-29T12:20:00",
"upload_time_iso_8601": "2024-09-29T12:20:00.838249Z",
"url": "https://files.pythonhosted.org/packages/62/c5/63b778efa3d3e9d5854bab8283502595cda9a0054662a744c2220c061616/py_eb_model-1.0.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-09-29 12:20:00",
"github": false,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"lcname": "py-eb-model"
}