the python arxml parser
Project description
py-armodel
Purpose
To support AUTOSAR model with python
Reference Documents
- AUTOSAR_TPS_XMLSchemaProductionRules.pdf
- AUTOSAR_TPS_ARXMLSerializationRules.pdf
Version | Documentation | Travis CI | Coverage Status | Pypi |
---|---|---|---|---|
How to create the distribution and upload to pypi
- Run
python setup.py bdist_wheel
to 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/
How to perform Unit test
- Run
pip install pytest pytest-cov
to install pytest. - Run
pytest --cov=armodel --cov-report term-missing
to verify all the functionality.
How to create a distribution and wheel
- Run
python setup.py sdist bdist_wheel --universal
How to create the document
- Run
pip install sphinx
to install the necessary document
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
arxml-dump
Dump all the arxml data to screen
arxml-dump --arxml arg -h
--arxml arg The file name of arxml data
-h show the help information
Example for arxml-dump
Dump the arxml data from test1.arxml and test2.arxml
arxml-dump --arxml test1.arxml --arxml test2.arxml
Change notes:
0.1.1
- Add the ARRAY category support for ImplementationDataType
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.1-py3-none-any.whl
(23.8 kB
view hashes)