Skip to main content

the python arxml parser

Project description

py-armodel

Purpose

To support AUTOSAR model with python

Reference Documents

  1. AUTOSAR_TPS_XMLSchemaProductionRules.pdf
  2. AUTOSAR_TPS_ARXMLSerializationRules.pdf
Documentation Travis CI Coverage Status
Documentation Status Coverage Status

How to create the distribution and upload to pypi

  1. python setup.py bdist_wheel
  2. twine check dist/*
  3. twine upload dist/*

And more details can be found at https://packaging.python.org/

How to perform Unit test

  • Run pip install pytest pytest-cov to install pytest.
  • Run pytest --cov=ar_model --cov-report term-missing to verify all the functionality.

How to create a distribution and wheel

  • Run python setup.py sdist bdist_wheel --universal

Heritage

- ARObject
  - Referrable
    - MultilanguageReferrable
      - Identifiable
        - PackageableElement
          - ARElement
            - AtpType
              - AutosarDataType
              - PortInterface
                - DataInterface
                  - NvDataInterface
                  - ParameterInterface
                  - SenderReceiverInterface
        - AtpFeature
          - AtpPrototype
            - DataPrototype
              - AutosarDataPrototype
                - VariableDataPrototype
              - ApplicationCompositeElementDataPrototype
                - ApplicationArrayElement
                - ApplicationRecordElement
  - ValueSpecification
    - ConstantReference

CLI usages

arxmldump

Dump all the arxml data to screen

arxmldump --arxml arg -h

--arxml arg The file name of arxml data -h show the help information

Example for arxmldump

Dump the arxml data from test1.arxml and test2.arxml

arxmldump --arxml test1.arxml --arxml test2.arxml

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

armodel-0.1.0-py3-none-any.whl (22.8 kB view hashes)

Uploaded Python 3

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