Skip to main content

The parser for EB XDM file

Project description

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.

os-xdm-xlsx data/Os.xdm data/Os.xlsx

Result:

  1. OsIsrs

  1. OsTasks

  1. OsScheduleTable

  1. OsCounter

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
rte-xdm-xlsx data/Rte.xdm data/Rte.xlsx
  1. Export the Runnable Entities information to excel file
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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

py_eb_model-1.0.1-py3-none-any.whl (32.5 kB view details)

Uploaded Python 3

File details

Details for the file py_eb_model-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: py_eb_model-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 32.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.9.6

File hashes

Hashes for py_eb_model-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d79c7f89101cec7bfc334e60e805d6afc6f88bb9690c048fcf3040acb07f0fbe
MD5 8a4dfab04ebe32359c9be901b1608ebe
BLAKE2b-256 62c563b778efa3d3e9d5854bab8283502595cda9a0054662a744c2220c061616

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page