armodel 1.0.0__py3-none-any.whl → 1.2.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,136 +1,154 @@
1
- Metadata-Version: 2.1
2
- Name: armodel
3
- Version: 1.0.0
4
- Summary: the python arxml parser
5
- Home-page: http://github.com/melodypapa/py-armodel
6
- Author: melodypapa
7
- Author-email: melodypapa@outlook.com
8
- License: MIT
9
- Keywords: AUTOSAR ARXML
10
- Platform: UNKNOWN
11
- Classifier: Development Status :: 1 - Planning
12
- Classifier: Environment :: Console
13
- Classifier: Programming Language :: Python :: 3
14
- Classifier: License :: OSI Approved :: MIT License
15
- Classifier: Operating System :: OS Independent
16
- Requires-Python: >=3.5
17
- Description-Content-Type: text/markdown
18
- Provides-Extra: pytest
19
- Requires-Dist: pytest-cov ; extra == 'pytest'
20
-
21
- # 1. py-armodel
22
-
23
- ## 1.1. Purpose
24
-
25
- To support AUTOSAR model with python
26
-
27
- ## 1.2. Reference Documents
28
- 1. AUTOSAR_TPS_XMLSchemaProductionRules.pdf
29
- 2. AUTOSAR_TPS_ARXMLSerializationRules.pdf
30
-
31
- |Version|Documentation|Travis CI|Coverage Status|Pypi|
32
- |--|--|--|--|--|
33
- |[![GitHub version](https://badge.fury.io/gh/melodypapa%2Fpy-armodel.svg)](https://badge.fury.io/gh/melodypapa%2Fpy-armodel)|[![Documentation Status](https://readthedocs.org/projects/py-armodel/badge/?version=latest)](https://py-armodel.readthedocs.io/en/latest)|[![](https://www.travis-ci.com/melodypapa/py-armodel.svg?branch=main)](https://www.travis-ci.com/melodypapa/py-armodel)|[![Coverage Status](https://coveralls.io/repos/github/melodypapa/py-armodel/badge.svg?branch=main)](https://coveralls.io/github/melodypapa/py-armodel?branch=main)|[![PyPI version](https://badge.fury.io/py/armodel.svg)](https://badge.fury.io/py/armodel)|
34
-
35
- ## 1.3. How to create the distribution and upload to pypi
36
- 1. Run `python setup.py bdist_wheel` to generate distribution
37
- 2. Run `twine check dist/*` to check the validation of distribution
38
- 3. Run `twine upload dist/*` to upload to pypi repository
39
- 4. Check the website https://pypi.org/project/armodel/ to find out it works or not
40
-
41
- And more details can be found at https://packaging.python.org/
42
-
43
- ## 1.4. How to perform Unit test
44
-
45
- * Run `pip install pytest pytest-cov` to install pytest.
46
- * Run `pytest --cov=armodel --cov-report term-missing` to verify all the functionality.
47
-
48
- ## 1.5. How to create a distribution and wheel
49
-
50
- * Run `python setup.py sdist bdist_wheel --universal`
51
-
52
- ## 1.6. How to create the document
53
-
54
- 1. Run `pip install sphinx` to install the necessary document
55
-
56
- ## 1.7. Heritage
57
-
58
- ```
59
- - ARObject
60
- - Referrable
61
- - MultilanguageReferrable
62
- - Identifiable
63
- - PackageableElement
64
- - ARElement
65
- - AtpType
66
- - AutosarDataType
67
- - PortInterface
68
- - DataInterface
69
- - NvDataInterface
70
- - ParameterInterface
71
- - SenderReceiverInterface
72
- - BswModuleEntry
73
- - Implementation
74
- - BswImplementation
75
- - AtpFeature
76
- - AtpPrototype
77
- - AtpPrototype
78
- - DataPrototype
79
- - AutosarDataPrototype
80
- - VariableDataPrototype
81
- - ApplicationCompositeElementDataPrototype
82
- - ApplicationArrayElement
83
- - ApplicationRecordElement
84
- - AtpStructureElement
85
- - BswModuleDescription
86
- - ExecutableEntity
87
- - ValueSpecification
88
- - ConstantReference
89
- ```
90
-
91
- ## 1.8. CLI usages
92
-
93
- ### 1.8.1. arxml-dump
94
-
95
- **Dump all the arxml data to screen**
96
-
97
- `arxml-dump --arxml arg -h`
98
-
99
- --arxml arg The file name of arxml data
100
-
101
- -h show the help information
102
-
103
- ### 1.8.2. Example for arxml-dump
104
-
105
- **Dump the arxml data from test1.arxml and test2.arxml**
106
-
107
- `arxml-dump --arxml test1.arxml --arxml test2.arxml`
108
-
109
- ## 1.9. API
110
-
111
- ### 1.9.1. Constructor
112
-
113
- ```
114
- ARXMLParser(options={"warning": True})
115
- ```
116
-
117
- ## 1.10. Change notes:
118
-
119
- ### 1.10.1. 0.1.1
120
-
121
- Add the ARRAY category support for ImplementationDataType
122
-
123
- ### 1.10.2. 0.1.2
124
-
125
- Add the AsynchronousServerCallPoint support for ARXML
126
-
127
- ### 1.10.3. 0.1.3
128
-
129
- Fix the attribute intervalType of **Limit** is empty issue.
130
-
131
- ### 1.10.4. 1.0.0
132
-
133
- 1. Add the logging support
134
- 2. Add the <warning> option to disable exception raised.
135
- 3. Add the BswMD support
136
-
1
+ Metadata-Version: 2.1
2
+ Name: armodel
3
+ Version: 1.2.0
4
+ Summary: the python arxml parser
5
+ Home-page: http://github.com/melodypapa/py-armodel
6
+ Author: melodypapa
7
+ Author-email: melodypapa@outlook.com
8
+ License: MIT
9
+ Keywords: AUTOSAR ARXML
10
+ Platform: UNKNOWN
11
+ Classifier: Development Status :: 1 - Planning
12
+ Classifier: Environment :: Console
13
+ Classifier: Programming Language :: Python :: 3
14
+ Classifier: License :: OSI Approved :: MIT License
15
+ Classifier: Operating System :: OS Independent
16
+ Requires-Python: >=3.5
17
+ Description-Content-Type: text/markdown
18
+ Provides-Extra: pytest
19
+ Requires-Dist: pytest-cov ; extra == 'pytest'
20
+
21
+ # 1. py-armodel
22
+
23
+ ## 1.1. Purpose
24
+
25
+ To support AUTOSAR model with python
26
+
27
+ ## 1.2. Reference Documents
28
+ 1. AUTOSAR_TPS_XMLSchemaProductionRules.pdf
29
+ 2. AUTOSAR_TPS_ARXMLSerializationRules.pdf
30
+
31
+ |Version|Documentation|Travis CI|Coverage Status|Pypi|
32
+ |--|--|--|--|--|
33
+ |[![GitHub version](https://badge.fury.io/gh/melodypapa%2Fpy-armodel.svg)](https://badge.fury.io/gh/melodypapa%2Fpy-armodel)|[![Documentation Status](https://readthedocs.org/projects/py-armodel/badge/?version=latest)](https://py-armodel.readthedocs.io/en/latest)|[![](https://www.travis-ci.com/melodypapa/py-armodel.svg?branch=main)](https://www.travis-ci.com/melodypapa/py-armodel)|[![Coverage Status](https://coveralls.io/repos/github/melodypapa/py-armodel/badge.svg?branch=main)](https://coveralls.io/github/melodypapa/py-armodel?branch=main)|[![PyPI version](https://badge.fury.io/py/armodel.svg)](https://badge.fury.io/py/armodel)|
34
+
35
+ ## 1.3. How to create the distribution and upload to pypi
36
+ 1. Run `python setup.py bdist_wheel` to generate distribution
37
+ 2. Run `twine check dist/*` to check the validation of distribution
38
+ 3. Run `twine upload dist/*` to upload to pypi repository
39
+ 4. Check the website https://pypi.org/project/armodel/ to find out it works or not
40
+
41
+ And more details can be found at https://packaging.python.org/
42
+
43
+ ## 1.4. How to perform Unit test
44
+
45
+ * Run `pip install pytest pytest-cov` to install pytest.
46
+ * Run `pytest --cov=armodel --cov-report term-missing` to verify all the functionality.
47
+
48
+ ## 1.5. How to create a distribution and wheel
49
+
50
+ * Run `python setup.py sdist bdist_wheel --universal`
51
+
52
+ ## 1.6. How to create the document
53
+
54
+ 1. Run `pip install sphinx` to install the necessary document
55
+
56
+ ## 1.7. Heritage
57
+
58
+ ```
59
+ - ARObject
60
+ - Referrable
61
+ - MultilanguageReferrable
62
+ - Identifiable
63
+ - PackageableElement
64
+ - ARElement
65
+ - AtpType
66
+ - AutosarDataType
67
+ - PortInterface
68
+ - DataInterface
69
+ - NvDataInterface
70
+ - ParameterInterface
71
+ - SenderReceiverInterface
72
+ - BswModuleEntry
73
+ - Implementation
74
+ - BswImplementation
75
+ - AtpFeature
76
+ - AtpPrototype
77
+ - AtpPrototype
78
+ - DataPrototype
79
+ - AutosarDataPrototype
80
+ - VariableDataPrototype
81
+ - ApplicationCompositeElementDataPrototype
82
+ - ApplicationArrayElement
83
+ - ApplicationRecordElement
84
+ - AtpStructureElement
85
+ - BswModuleDescription
86
+ - ExecutableEntity
87
+ - SwcBswMapping
88
+ - ValueSpecification
89
+ - ConstantReference
90
+ ```
91
+
92
+ ## 1.8. CLI usages
93
+
94
+ ### 1.8.1. arxml-dump
95
+
96
+ **Dump all the arxml data to screen**
97
+
98
+ `arxml-dump --arxml arg -h`
99
+
100
+ --arxml arg The file name of arxml data
101
+
102
+ -h show the help information
103
+
104
+ ### 1.8.2. Example for arxml-dump
105
+
106
+ **Dump the arxml data from test1.arxml and test2.arxml**
107
+
108
+ `arxml-dump --arxml test1.arxml --arxml test2.arxml`
109
+
110
+ ## 1.9. API
111
+
112
+ ### 1.9.1. Constructor
113
+
114
+ ```
115
+ ARXMLParser(options={"warning": True})
116
+ ```
117
+
118
+ ## 1.10. Change notes:
119
+
120
+ **Version 0.1.1**
121
+
122
+ Add the ARRAY category support for ImplementationDataType
123
+
124
+ **Version 0.1.2**
125
+
126
+ Add the AsynchronousServerCallPoint support for ARXML
127
+
128
+ **Version 0.1.3**
129
+
130
+ Fix the attribute intervalType of **Limit** is empty issue.
131
+
132
+ **Version 1.0.0**
133
+
134
+ 1. Add the logging support
135
+ 2. Add the <warning> option to disable exception raised.
136
+ 3. Add the BswMD support
137
+
138
+ **Version 1.1.0**
139
+
140
+ 1. Add the InitEvent support. (Issue #5)
141
+ 2. Add the DataReceiveEvent support. (Issue #5)
142
+ 3. Add the SwcModeSwitchEvent support. (Issue #5)
143
+
144
+ **Version 1.2.0**
145
+
146
+ 1. Add the SwcImplementation support (Issue #9)
147
+ 2. Add the integer value for memory section alignment (Issue #9)
148
+ 3. Remove the required attributes for the Implementation according to the AUTOSAR standard 23R-11. (Issue #9)
149
+ 4. Change the START-ON-EVENT-REF to optional according to the AUTOSAR standard 23R-11. (Issue #9)
150
+ 5. Change the HANDLE-OUT-OF-RANGE to optional according to the AUTOSAR standard 23R-11. (Issue #9)
151
+ 6. Add the SensorActuatorSwComponentType support (Issue #9)
152
+ 7. Change the CATEGORY of COMPU-METHOD to optional.
153
+ 8. Change the CAN-BE-INVOKED-CONCURRENTLY to optional.
154
+
@@ -0,0 +1,27 @@
1
+ armodel/__init__.py,sha256=K_KHb3O2T21uteIe0wac-tb3kI2xWHTnwV9ShaXesAU,54
2
+ armodel/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
+ armodel/cli/arxml_dump_cli.py,sha256=VBOTkrpj59kt2hM62iNVcDYGch_A2WL5_vFpbmC9ucI,9932
4
+ armodel/models/__init__.py,sha256=ijDu-Ra2ZjEJNy88Y5ZsPqxAt05_reQsQti-_X4gD3o,402
5
+ armodel/models/ar_object.py,sha256=gbo71ZPQ61-OhiPpHFbKtE2JA-8vOzXrd9T_0hh4GfA,341
6
+ armodel/models/ar_package.py,sha256=OPoNGaAhTBf30elxc1dvJMyU6CpMUmvs0SUwaYoEtVs,13275
7
+ armodel/models/ar_ref.py,sha256=RZT6URQ91YgmRk1oUTC-0UPnwn61MgEzmII7UKwQXUM,3548
8
+ armodel/models/bsw_module_template.py,sha256=k_CZWtTipKtVFjIx08uRqadSubVtBJ-NhUlocfoA0a0,11778
9
+ armodel/models/common_structure.py,sha256=DSnuhhYdpDW-klOCZNg8zULuhFBdk7k601YQsPg5IT4,6745
10
+ armodel/models/data_dictionary.py,sha256=xSQzXkLQyOJiLIsczlAzGBnrrvHFVv2_-OfVyN6_MSE,867
11
+ armodel/models/data_prototype.py,sha256=pyIahyJh4KaikMfHikHiKzbGai1JnkrzDZpkVLvb6iU,2096
12
+ armodel/models/datatype.py,sha256=BEc8y3mcQZEvwteFUtJyPYBIwnHJcs9fIyxLgnMK5rk,5802
13
+ armodel/models/ecuc_parameter_def_template.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
14
+ armodel/models/general_structure.py,sha256=syJTAAo3DIBE6O0nB8Whm4OEnNyN4uVIAJZPA8t3ukY,4480
15
+ armodel/models/implementation.py,sha256=jfatA90Ww51kMqnUsbx6q4JRRRIRFCQXVg88J44RNoA,3850
16
+ armodel/models/m2_msr.py,sha256=Gk-h-4jSnOkWlfJJcI1-1YvSQvBqkUJZxlzikwgAsec,2165
17
+ armodel/models/port_interface.py,sha256=UDCvj78k3sfG4IJX4FWQj6LUV2mWw6Nt0plMnLsQfZk,6026
18
+ armodel/models/port_prototype.py,sha256=Pqp5euv_RDfTlsEqvBkpAreBFMJlovuU49cJsYD4d3Q,7215
19
+ armodel/models/sw_component.py,sha256=LUmof9nZnN7krpIScS72R6YqTzzpkIFkIvHJoklYXgw,20503
20
+ armodel/parser/__init__.py,sha256=whzCLvAstuSlm6scgcCId7AUxSX8z8PV8AIKSNWMkGo,37
21
+ armodel/parser/arxml_parser.py,sha256=NgIbfrXL2EoT5po1kvaxdpxnYOJCXk0TBlmgae-OfdQ,55951
22
+ armodel-1.2.0.dist-info/LICENSE,sha256=rceTpGhsmmN1M0k1KO0HRS11iCjen-2y56ZEqgo43wo,1088
23
+ armodel-1.2.0.dist-info/METADATA,sha256=MVqrzP9E8YfO9sA92XWqRNhwt-7CFPDyeg6-lX9ywUg,4998
24
+ armodel-1.2.0.dist-info/WHEEL,sha256=yQN5g4mg4AybRjkgi-9yy4iQEFibGQmlz78Pik5Or-A,92
25
+ armodel-1.2.0.dist-info/entry_points.txt,sha256=ofkww3HejFuRvGlQSANqFbTEcf0LUXX2FmXZovba9m0,68
26
+ armodel-1.2.0.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
27
+ armodel-1.2.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.37.1)
2
+ Generator: bdist_wheel (0.41.2)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,25 +0,0 @@
1
- armodel/__init__.py,sha256=K_KHb3O2T21uteIe0wac-tb3kI2xWHTnwV9ShaXesAU,54
2
- armodel/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
3
- armodel/cli/arxml_dump_cli.py,sha256=2H30Ol0XKJXDxUzbONvudL_UD6nJ4EgWoe2XMJs_srs,9932
4
- armodel/models/__init__.py,sha256=ijDu-Ra2ZjEJNy88Y5ZsPqxAt05_reQsQti-_X4gD3o,402
5
- armodel/models/ar_package.py,sha256=wS869Y20waZfrrdkMwseJ-PzpM0g82pDKXrIULC8Dyc,11323
6
- armodel/models/ar_ref.py,sha256=yePljEW-KWKvEMyVq864MuXtKImUVyrJ3vYDjK7J0SE,2307
7
- armodel/models/bsw_module_template.py,sha256=giu75YHX3BVwPbLxIBDoVGhOJxi_1id5xfY3rR_PKpk,11304
8
- armodel/models/common_structure.py,sha256=728EDc5IqwiJadTB0SzSa3A9Dnr0Srl1uuWBAcjnhPc,4937
9
- armodel/models/data_dictionary.py,sha256=xSQzXkLQyOJiLIsczlAzGBnrrvHFVv2_-OfVyN6_MSE,867
10
- armodel/models/data_prototype.py,sha256=pyIahyJh4KaikMfHikHiKzbGai1JnkrzDZpkVLvb6iU,2096
11
- armodel/models/datatype.py,sha256=BEc8y3mcQZEvwteFUtJyPYBIwnHJcs9fIyxLgnMK5rk,5802
12
- armodel/models/general_structure.py,sha256=VuEAJYb-rw_Q-gSlHE5YkqnYBIDEJp8Ld2YithERGM0,3371
13
- armodel/models/implementation.py,sha256=8-yWoPMA0pg4Gu3LoiX-xy_0UGfyyU0kgjtk1QD4T1M,1611
14
- armodel/models/m2_msr.py,sha256=Gk-h-4jSnOkWlfJJcI1-1YvSQvBqkUJZxlzikwgAsec,2165
15
- armodel/models/port_interface.py,sha256=UDCvj78k3sfG4IJX4FWQj6LUV2mWw6Nt0plMnLsQfZk,6026
16
- armodel/models/port_prototype.py,sha256=Pqp5euv_RDfTlsEqvBkpAreBFMJlovuU49cJsYD4d3Q,7215
17
- armodel/models/sw_component.py,sha256=Tl19q1CxMtXjwY1LTxUlQsJa-f6VJA06WlYQwGGdr00,18056
18
- armodel/parser/__init__.py,sha256=whzCLvAstuSlm6scgcCId7AUxSX8z8PV8AIKSNWMkGo,37
19
- armodel/parser/arxml_parser.py,sha256=VDD-9JBwZMQPLrixm--LeyRrNy6el0nlhdaXRj_SZHQ,46742
20
- armodel-1.0.0.dist-info/LICENSE,sha256=rceTpGhsmmN1M0k1KO0HRS11iCjen-2y56ZEqgo43wo,1088
21
- armodel-1.0.0.dist-info/METADATA,sha256=iPSeMt-8GP4okCx4iRSbM8_5H4Emyi9w5ZtX8jWJMj0,4054
22
- armodel-1.0.0.dist-info/WHEEL,sha256=G16H4A3IeoQmnOrYV4ueZGKSjhipXx8zc8nu9FGlvMA,92
23
- armodel-1.0.0.dist-info/entry_points.txt,sha256=ofkww3HejFuRvGlQSANqFbTEcf0LUXX2FmXZovba9m0,68
24
- armodel-1.0.0.dist-info/top_level.txt,sha256=AEATYsqAuRpr0XGa_ThW7-o4WLlA5e3PEgD0QJhzmoA,8
25
- armodel-1.0.0.dist-info/RECORD,,