Autosar

Latest version: v0.4.2

Safety actively analyzes 688568 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 3

0.5.3

Added

XML - Common structure elements

* DataFilter | DATA-FILTER

XML - System template elements

* E2EProfileCompatibilityProps | E-2-E-PROFILE-COMPATIBILITY-PROPS | `collectable`
* EndToEndTransformationComSpecProps | END-TO-END-TRANSFORMATION-COM-SPEC-PROPS

XML - Software component elements

* ApplicationSoftwareComponentType | APPLICATION-SW-COMPONENT-TYPE | `collectable`
* CompositionSwComponentType | COMPOSITION-SW-COMPONENT-TYPE | `collectable`
* SwComponentPrototype | SW-COMPONENT-PROTOTYPE
* PortInCompositionTypeInstanceRef | Merge of P-PORT-IN-COMPOSITION-INSTANCE-REF, R-PORT-IN-COMPOSITION-INSTANCE-REF
* AssemblySwConnector | ASSEMBLY-SW-CONNECTOR
* DelegationSwConnector | DELEGATION-SW-CONNECTOR
* PassThroughSwConnector | PASS-THROUGH-SW-CONNECTOR
* ClientComSpec | CLIENT-COM-SPEC
* ModeSwitchedAckRequest | MODE-SWITCHED-ACK-REQUEST
* ModeSwitchReceiverComSpec | MODE-SWITCH-RECEIVER-COM-SPEC
* ModeSwitchSenderComSpec | MODE-SWITCH-SENDER-COM-SPEC
* NonqueuedReceiverComSpec | NONQUEUED-RECEIVER-COM-SPEC
* NonqueuedSenderComSpec | NONQUEUED-SENDER-COM-SPEC
* NvProvideComSpec | NV-PROVIDE-COM-SPEC
* NvRequireComSpec | NV-REQUIRE-COM-SPEC
* ParameterProvideComSpec | PARAMETER-PROVIDE-COM-SPEC
* ParameterRequireComSpec | PARAMETER-REQUIRE-COM-SPEC
* QueuedReceiverComSpec | QUEUED-RECEIVER-COM-SPEC
* QueuedSenderComSpec | QUEUED-SENDER-COM-SPEC
* ReceptionComSpecProps | RECEPTION-COM-SPEC-PROPS
* ServerComSpec | SERVER-COM-SPEC
* TransmissionAcknowledgementRequest | TRANSMISSION-ACKNOWLEDGEMENT-REQUEST
* TransmissionComSpecProps | TRANSMISSION-COM-SPEC-PROPS
* ProvidePortPrototype | P-PORT-PROTOTYPE
* RequirePortPrototype | R-PORT-PROTOTYPE
* PRPortPrototype | PR-PORT-PROTOTYPE

XML - SWC internal behavior elements

* ArVariableInImplementationDataInstanceRef | AR-VARIABLE-IN-IMPLEMENTATION-DATA-INSTANCE-REF
* AutosarVariableRef | AUTOSAR-VARIABLE-REF
* VariableAccess | VARIABLE-ACCESS
* VariableInAtomicSWCTypeInstanceRef | VARIABLE-IN-ATOMIC-SWC-TYPE-INSTANCE-REF

XML - Reference elements

* ApplicationCompositeElementDataPrototypeRef
* AutosarDataPrototypeRef
* ClientServerOperationRef
* E2EProfileCompatibilityPropsRef
* ModeDeclarationGroupPrototypeRef
* ParameterDataPrototypeRef
* PortPrototypeRef
* SwComponentTypeRef
* SwComponentPrototypeRef

Workspace class

New methods:

* create_package_map
* add_element
* find_element
* get_package
* create_document_mapping

Changed

* The method `Workspace.make_packages` should not be called directly anymore. Use `Workspace.create_package_map` instead.

0.5.2

Added

Workspace

* Various improvements to template classes
* Support project config files

XML - Data type elements

* ArgumentDataPrototype | ARGUMENT-DATA-PROTOTYPE
* ParameterDataPrototype | PARAMETER-DATA-PROTOTYPE
* VariableDataPrototype | VARIABLE-DATA-PROTOTYPE

Mode declaration elements

* ModeDeclarationGroup | MODE-DECLARATION-GROUP | `collectable`
* ModeDeclaration | MODE-DECLARATION
* ModeDeclarationGroupPrototype | MODE-DECLARATION-GROUP-PROTOTYPE
* ModeErrorBehavior | MODE-ERROR-BEHAVIOR
* ModeTransition | MODE-TRANSITION

XML Port interface elements

* ClientServerInterface | CLIENT-SERVER-INTERFACE | `collectable`
* ModeSwitchInterface | MODE-SWITCH-INTERFACE | `collectable`
* NvDataInterface | NV-DATA-INTERFACE | `collectable`
* ParameterInterface | PARAMETER-INTERFACE | `collectable`
* SenderReceiverInterface | SENDER-RECEIVER-INTERFACE | `collectable`
* ApplicationError | APPLICATION-ERROR
* ClientServerOperation | CLIENT-SERVER-OPERATION
* InvalidationPolicy | INVALIDATION-POLICY

XML - Reference elements

* ApplicationErrorRef
* ModeDeclarationGroupRef
* ModeDeclarationRef
* VariableDataPrototypeRef

0.5.1

Added

* Value checker for positive integers

XML - Data type elements

* ValueList | VALUE-LIST

XML - Calibration elements

* SwValueCont | SW-VALUE-CONT
* SwAxisCont | SW-AXIS-CONT
* SwValues | SW-VALUES
* ValueGroup | VALUE-GROUP

XML - Constant and Value specification elements

* ConstantSpecification | CONSTANT-SPECIFICATION | `collectable`
* ApplicationValueSpecification | APPLICATION-VALUE-SPECIFICATION
* ArrayValueSpecification | ARRAY-VALUE-SPECIFICATION
* ConstantReference | CONSTANT-REFERENCE
* NotAvailableValueSpecification | NOT-AVAILABLE-VALUE-SPECIFICATION
* NumericalValueSpecification | NUMERICAL-VALUE-SPECIFICATION
* RecordValueSpecification | RECORD-VALUE-SPECIFICATION
* TextValueSpecification | TEXT-VALUE-SPECIFICATION

XML - Reference elements

* ConstantRef

0.5.0

Main changes
* New class hierachy
* Snake-case naming of variables and methods (Follow PEP8)
* Modern type hinting
* Python Enum classes for enumeration types
* Improved XML reading and writing with lxml
* Linting support (Pylint and flake8)
* New unit test suite
* New RTE generator

Notes

Only supports XML data type elements. More will be added later.

0.4.2

Fixes and Improvements

* Fixed: AR4 record parser returns AR3 record value

0.4.1

Fixes and Improvements

* Fix: Deprecated use of collections module in parts of the code. Updated to collections.abc. (Python 3.10)

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.