powertrain-build
A Continuous Integration (CI) build system testing all configurations where a Simulink model is used.
What it is and what it does
powertrain-build is a specialized CI build system for automotive embedded development, designed to test all configurations of Simulink/TargetLink models used across a project. It moves code generation from CI servers to developer machines, parallelizes job execution, and enforces signal consistency checks and ASIL-class variable declarations at the source. The package includes Ansible playbooks, templates, MATLAB scripts for model-to-code conversion, and a modular architecture (interface, lib, zone_controller) for managing build workflows.
It targets teams using TargetLink for embedded automotive code generation, particularly those needing multi-supplier model reuse (e.g., SPA2 Core System Platform) and memory optimization through variable-class-specific addressing. The system includes unit tests, supports C code review workflows, and fixes NVM variable handling issues common in automotive builds. Active maintenance and a permissive Apache 2.0 license make it suitable for both internal and collaborative development.
Use it for:
- Test Simulink/TargetLink model configurations across multiple supplier platforms and hardware variants in a single CI pipeline.
- Parallelize embedded code generation and testing by offloading model-to-code conversion to developer machines.
- Enforce ASIL safety classification and signal consistency at code generation time rather than post-processing.
- Reuse the same automotive models across different suppliers and platforms without duplicating build logic.
- Integrate C code review workflows (e.g., Gerrit) by enabling reviewable, generated C code in a CI context.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
A CI build system for testing Simulink/TargetLink model configurations with signal consistency checks, code generation, and ASIL variable handling for embedded automotive systems.
Yes, if you are an automotive embedded team using TargetLink/Simulink models and need a CI system that handles multi-configuration testing, ASIL variable management, and code generation at scale. The active maintenance, low install friction, permissive license, and no known vulnerabilities make it safe to adopt. No if you are not working in TargetLink/Simulink automotive workflows—the package is highly specialized and will not be useful outside that domain.
Install
powertrain-build on PyPI
pip
pip install powertrain-builduv
uv add powertrain-buildpoetry
poetry add powertrain-buildInstalling powertrain-build
Before you install
Active maintenance with a release 3 days ago. Low install friction: pure Python wheel with 10 runtime dependencies including gitpython, requests, ruamel.yaml, scipy, and voluptuous—all widely available. No compiled extensions beyond pywin32.
License in practice
Licensed under Apache License, Version 2.0 (permissive). You can use, modify, and distribute this package freely in commercial and private projects, subject to standard Apache terms.
Quickstart
pip install powertrain-build
from powertrain_build import interface
# See docs/powertrain_build_introduction.md for project-specific usage
Designed for automotive embedded workflows; requires understanding of TargetLink/Simulink model structures and CI/CD integration patterns.
Verify before relying
- Exact Python version support: classifiers list 3.6 and 3.14, but requires_python is unspecified—unclear if all intermediate versions work.
- Windows-specific behavior: pywin32 is a runtime dependency, but package claims 'OS Independent'—clarify platform-specific code paths.
- Integration scope: whether this replaces existing CI systems or augments them in a typical automotive development workflow.
Package facts
| License | Apache License, Version 2.0 (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 10 — gitpython, pbr, certifi, requests, ruamel.yaml.clib, ruamel.yaml, voluptuous, scipy, importlib-resources, pywin32 |
| Maintenance | actively maintained — 3 days since the last release |
| First released | |
| Downloads | 98,593/month — #13,073 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: powertrain_build-1.17.0-py3-none-any.whl
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
odxtoolsodxtools parses and processes ODX (Open…
permissive · top 5,000 on PyPI
cantoolsCantools parses automotive CAN bus database…
permissive · top 5,000 on PyPI
ansible-dev-toolsBundles and installs a curated suite of Ansible…
copyleft · top 15,000 on PyPI
ansible-builderAnsible Builder automates the creation of…
permissive · top 15,000 on PyPI
nvidia-cuda-nvrtc-cu12Provides NVIDIA CUDA NVRTC native runtime…
unclear · top 1,000 on PyPI
platformioPlatformIO Core is a command-line build system…
permissive · top 5,000 on PyPI
nvidia-cuda-nvrtc-cu11Provides NVIDIA CUDA NVRTC (runtime…
unclear · top 5,000 on PyPI
udsoncanImplements the Unified Diagnostic Services…
permissive · top 15,000 on PyPI
moleculeMolecule is an Ansible testing framework for…
permissive · top 5,000 on PyPI
nvidia-nvjitlink-cu12Provides NVIDIA's JIT LTO compiler library for…
unclear · top 1,000 on PyPI