Power Toys for the ARXML
Project description
1. arxml_toys
1.1. Purpose
One power toys to help to manage the AUTOSAR ARXML file.
1.2. How to
1.2.1. 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/
1.2.2. 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.
1.2.3. How to create a distribution and wheel
- Run
python setup.py sdist bdist_wheel --universal
1.3. Remove or update the UUID from ARXML
1.3.1. Usage
$ arxml_uuid
arxml_uuid [-a|--arxml name][--remove][-h|-help]
Remove or update the uuid from the specific arxml
-a|--arxml name : The filename of arxml
--remove : Remove the UUID
-h|--help : Show the help information.
1.3.2. Update the UUID
Update the test.arxml with the new generated UUID
Example:
arxml_uuid -a test.arxml
1.3.3. Remove the UUID
remove all UUID from test.arxml
Example:
arxml_uuid -a test.arxml --remove
1.4. Remove the timestamp from ARXML
1.4.1. Usage
$ arxml_timestamp
arxml_timestamp [-a|--arxml name][-h|-help]
Remove the timestamp from the specific arxml
-a|--arxml name : The filename of arxml
-h|--help : Show the help information.
1.4.2. Turn off the timestamp in AUTOSAR builder
Uncheck the "Auto update object's timestamp if its model is modified" option.
1.4.3. Remove the timestamp
remove all timestamp attributes from test.arxml
Example:
arxml_timestamp -a test.arxml
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
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for arxml_toys-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | eabd36dd9efd5959784b1c119fd3abd4e8350530c439b1a1e7edf021c46725b0 |
|
MD5 | 106d190b259b2a90af69dc9d53098348 |
|
BLAKE2b-256 | 0e89aea8e7f1507550bb34cfe6148b3959aca9f8c051c1776b6fd7aee0b06560 |