Yanga Core
Source Code: https://github.com/yanga-project/yanga-core
Core library for C/C++ software product line (SPL) engineering. Works with any build system.
Yanga Core provides data models, configuration loading, pipeline steps, and commands that build system integrations (like Yanga for CMake) use to:
- Define platforms, variants, and components for a product line
- Run build pipeline steps (KConfig generation, dependency installation, static analysis, ...)
- Generate HTML reports (CppCheck, Sphinx docs, coverage)
Installation
Requires Python 3.10+.
pip install yanga-core
Quick Start
yanga-core is a library, not a standalone CLI. Applications import its modules and compose them. See Yanga for a CMake-based application built on yanga-core.
from pathlib import Path
from yanga_core.domain.project_slurper import YangaProjectSlurper
slurper = YangaProjectSlurper(project_dir=Path("."))
for variant in slurper.variants:
print(f"Variant: {variant.name}, components: {variant.components}")
Documentation
Full documentation is available in the docs/ directory:
- Tutorials — learn yanga-core step-by-step
- How-to Guides — task-oriented guides for specific goals
- Reference — configuration, domain model, pipeline, and API
- Explanation — architecture, design decisions, and concepts
Contributing
See the Contributing Guide for setup instructions, running tests, and code quality standards.
Credits
This package was created with Copier and the browniebroke/pypackage-template project template.
Metadata
Release files for yanga-core 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| yanga_core-0.10.0.tar.gz | 39.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| yanga_core-0.10.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 94.7 kB
Release files / yanga_core-0.10.0.tar.gz
| Download URL | yanga_core-0.10.0.tar.gz |
|---|---|
| Size | 39.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c62072ef5d00c871600d53b09af28ba7108873b79957b86d7de1c566ea6f4fb9
|
|
BLAKE2b-256 checksum How to use checksums |
e742f312f47332f41f97c4b3c620e7ea07d5ff4504503e29c5b8b159b8142889
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency logRelease files / yanga_core-0.10.0-py3-none-any.whl
| Download URL | yanga_core-0.10.0-py3-none-any.whl |
|---|---|
| Size | 55.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce40ec60ad24900f1c676947259ab9f3fcb1274d684dbf5c742e2ec023e00676
|
|
BLAKE2b-256 checksum How to use checksums |
155498cbc2005988910faa3293ee5530cc89ad2e030495d9f1a3d18105da5b2f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 3, 2026.
Transparency log