You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-6Lines changed: 5 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,10 +9,9 @@ It also has some support for parsing AUTOSAR XML files.
9
9
10
10
**Important notes:**
11
11
12
-
1. Python AUTOSAR v0.5+ uses a new API and is incompatible with earlier versions.
12
+
1. Python AUTOSAR v0.5+ uses a new API and is incompatible with the v0.4 API.
13
13
2. For Python AUTOSAR v0.4, see the [v0.4 maintenance branch](https://github.com/cogu/autosar/tree/maintenance/0.4).
14
-
3. At this point most elements are supported except for SwcInternalBehavior. Due to its massive size, that element won't have proper support until v0.5.5.
15
-
4. There's no offical documentation yet for v0.5. The [documentation](https://autosar.readthedocs.io/en/latest/) found at Read the Docs is for v0.4.
14
+
3. There's no offical documentation yet for v0.5. The [documentation](https://autosar.readthedocs.io/en/latest/) found at Read the Docs is for v0.4.
16
15
17
16
## Major design changes
18
17
@@ -22,20 +21,20 @@ AUTOSAR v0.5 has been rewritten and modernized.
22
21
23
22
* New class hierachy
24
23
* Follows the structure of the AUTOSAR XML schema where possible.
25
-
* Snake-case naming of variables and methods (Follow PEP8 standard).
24
+
* Snake-case naming of variables and methods (Follows PEP8 standard).
26
25
* Modern type hinting (this unfortunately requires Python 3.10 or later).
27
26
* Python Enum classes for enumeration types.
28
27
* Improved XML reading and writing using lxml.
29
28
* Linting support
30
29
* Source code is checked with both Pylint and flake8.
31
30
* New unit test suite
32
-
* More comprehensive unit tests for every element.
31
+
* More comprehensive unit tests for XML elements.
33
32
* Much faster to run as it uses the new XML reader and writer.
34
33
35
34
## Supported AUTOSAR versions
36
35
37
36
The implementation tries to follow release R22-11. However, the generated ARXML validates against all versions listed below.
38
-
When saving, use the `schema_version` parameter to select desired version (integer with value 48-51).
37
+
When calling `write_documents`, use the `schema_version` parameter to select desired version (integer with value 48-51).
0 commit comments