skillfed

autosar-data

read, write and modify Autosar arxml data using Python

autosar-data v0.16.0 113.8K downloads/30d#12,329 on PyPI23
License unclear Active released

What it is and what it does

autosar-data is a Python wrapper around a Rust library for working with AUTOSAR arxml files. It lets you load, validate, create, and modify AUTOSAR data models programmatically. The package supports strict and non-strict validation modes, cross-references, AUTOSAR paths, and multiple file handling within a single model. It covers AUTOSAR versions 4.0.1 and later.

The bindings expose core operations: file I/O (load from file or buffer, serialize, write), element creation and navigation, attribute and reference management, and bulk traversal via depth-first search. No runtime dependencies are required beyond Python 3.11+, making it lightweight to integrate into automotive tooling, configuration management, or data transformation pipelines.

Use it for:

  • Parse and validate AUTOSAR configuration files in automotive ECU development workflows
  • Programmatically generate or modify arxml files for system architecture or signal definition
  • Extract and analyze AUTOSAR model data (PDUs, signals, packages) for reporting or compliance checks
  • Migrate or transform AUTOSAR data between versions or file structures
  • Integrate AUTOSAR data processing into Python-based build or CI/CD automation

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Python bindings for reading, writing, and modifying AUTOSAR arxml files with full validation support and cross-reference handling.

Yes, if you work with AUTOSAR arxml files and need programmatic access from Python. Active maintenance, no known vulnerabilities, and prebuilt wheels across major platforms reduce friction. Verify the license terms first—the unclear license status is the only material blocker. Requires Python 3.11+.

Install

autosar-data on PyPI

pip

pip install autosar-data

uv

uv add autosar-data

poetry

poetry add autosar-data

Installing autosar-data

Before you install

Medium install friction due to compiled wheels; prebuilt binaries available for Python 3.11+ across macOS, Windows, and Linux architectures. Active maintenance with recent release (54 days ago).

License in practice

License status unclear—no SPDX identifier or raw license text provided. Verify licensing terms before use in proprietary or commercial projects.

Quickstart

from autosar_data import *

model = AutosarModel()
(arxmlfile, warnings) = model.load_file("filename.arxml", False)

# Access elements by path
element = model.get_element_by_path("/Pkg/System")

Requires Python 3.11 or later; compiled Rust extension via PyO3.

Verify before relying

  • Exact license terms and compatibility with GPL, proprietary, or commercial use
  • Performance characteristics when handling large arxml files
  • Degree of AUTOSAR 4.0.1+ version coverage and backward compatibility

Package facts

License not declared (unclear)
Python support supports the current Python release (>=3.11)
Install friction medium — platform-specific wheel
Runtime dependencies none
Maintenance actively maintained — 54 days since the last release
Last repo commit
First released
Downloads 113,819/month — #12,329 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: autosar_data-0.16.0-cp311-cp311-macosx_10_12_x86_64.whl; autosar_data-0.16.0-cp311-cp311-macosx_11_0_arm64.whl; autosar_data-0.16.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; autosar_data-0.16.0-cp311-cp311-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; autosar_data-0.16.0-cp311-cp311-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; autosar_data-0.16.0-cp311-cp311-manylinux_2_17_s390x.manylinux2014_s390x.whl; autosar_data-0.16.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; autosar_data-0.16.0-cp311-cp311-manylinux_2_5_i686.manylinux1_i686.whl; autosar_data-0.16.0-cp311-cp311-musllinux_1_2_aarch64.whl; autosar_data-0.16.0-cp311-cp311-musllinux_1_2_armv7l.whl; autosar_data-0.16.0-cp311-cp311-musllinux_1_2_i686.whl; autosar_data-0.16.0-cp311-cp311-musllinux_1_2_x86_64.whl; autosar_data-0.16.0-cp311-cp311-win_amd64.whl; autosar_data-0.16.0-cp312-cp312-macosx_10_12_x86_64.whl; autosar_data-0.16.0-cp312-cp312-macosx_11_0_arm64.whl; autosar_data-0.16.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl; autosar_data-0.16.0-cp312-cp312-manylinux_2_17_armv7l.manylinux2014_armv7l.whl; autosar_data-0.16.0-cp312-cp312-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl; autosar_data-0.16.0-cp312-cp312-manylinux_2_17_s390x.manylinux2014_s390x.whl; autosar_data-0.16.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Intended Audience :: DevelopersOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIXProgramming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: Rust

Tags

autosar arxml parserread write arxml filesautosar data manipulationautosar model validationarxml file processingautosar 4.0 pythonautosar element operations
autosararxmlautomotive

More Software Development packages