autosar-data
read, write and modify Autosar arxml data using Python
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-datauv
uv add autosar-datapoetry
poetry add autosar-dataInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
pydltPyDLT reads and writes AUTOSAR DLT (Diagnostic…
permissive · top 15,000 on PyPI
dicttoxmlConverts Python dictionaries and other native…
copyleft · top 5,000 on PyPI
chia-rsProvides Python bindings to Rust crates for…
unclear · top 15,000 on PyPI
deltalakeDeltalake provides native Python bindings to…
permissive · top 1,000 on PyPI
cantoolsCantools parses automotive CAN bus database…
permissive · top 5,000 on PyPI
canmatrixCanmatrix parses, manipulates, and converts CAN…
permissive · top 5,000 on PyPI
maturinMaturin builds and publishes Python packages…
permissive · top 5,000 on PyPI
asammdfasammdf parses, edits, and exports ASAM MDF…
copyleft · top 5,000 on PyPI
ignore-pythonProvides fast recursive directory traversal…
unclear · top 15,000 on PyPI
maturin-import-hookAutomatically rebuilds Rust components in…
permissive · top 15,000 on PyPI