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

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file armodel-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: armodel-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 22.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.8.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.2

File hashes

Hashes for armodel-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef4f04b2dd2f217e7b87a8ee4dbed47c9b324e276ce51a3d94eff39f74c3e249
MD5 632298cf562a37b6abe59bcbc28b71a5
BLAKE2b-256 4cb017d7dd35ad1022475d03c4bdfa641cceec4a8fdafd91e7008b6a0ca88015

See more details on using hashes here.

Supported by

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