The parser for EB XDM file
Project description
1. py-eb-model
- The python parser engine for EB Tresos Xdm file.
- To support EB Tresos data model with python.
2. How to create the distribution and upload to pypi
- Run
python setup.py bdist_wheelto generate distribution - Run
twine check dist/*to check the validation of distribution - Run
twine upload dist/*to upload to pypi repository - 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.
os-xdm-xlsx data/Os.xdm data/Os.xlsx
Result:
- OsIsrs
- OsTasks
- OsScheduleTable
- OsCounter
3.2. rte-task-xls
Extract the Rte Configuration information from rte.xdm and then report all to Excel file.
- Export the Rte Configuration information to excel file
rte-xdm-xlsx data/Rte.xdm data/Rte.xlsx
- Export the Runnable Entities information to excel file
rte-xdm-xlsx -r data/Rte.xdm data/Os.xdm data/Runnable.xlsx
3.3. pref-system-importer
Read the EB preference XDM and generate the file list into text file.
pref-system-importer .prefs/pref_imp_exp_Imp_System.xdm data/output.lst --base-path /c/EB/ACG-8_8_8_WIN32X86/workspace/simple_demo_rte
4. Change History
Version 0.8.0
- Create the basic model for EB xdm. (Issue #1)
- Support to extract the Os Tasks/Isrs from EB xdm and store them in the excel files. (Issue #1)
Version 1.0.1
- Change the attribute to start with lowercase
- read_ref_value and read_optional_ref_value method returns EcucRefType.
- Read the OsScheduleTable and export to excel
- Read the OsCounter and export to excel
Version 1.0.2
- Fix the setOsAlarmCallbackName bug
Version 1.0.3
- Generate the System import file list based on EB preference Xdm.
- Add the support to read OsTaskAutostart element.
- Add the support to read OsTaskType element.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file py_eb_model-1.0.3-py3-none-any.whl.
File metadata
- Download URL: py_eb_model-1.0.3-py3-none-any.whl
- Upload date:
- Size: 37.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c5f93c7df8a95c57876c5e2e02a403c13149488375d99559dc6a66316efb083b
|
|
| MD5 |
5fa3aea64c4a91fc2e15295e9edf0773
|
|
| BLAKE2b-256 |
f6d06b6c9737d705ae7457aa1786929b2af7ff6f7de7277b04f7e74a4fbc32e5
|