Skip to main content

Yanga Core

CI Status Test coverage percentage

uv Ruff pypeline pre-commit

PyPI Version Supported Python versions License


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

Copier

This package was created with Copier and the browniebroke/pypackage-template project template.

Metadata

Release files for yanga-core 0.16.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for yanga-core 0.16.0
File Size Uploaded Provenance Actions
yanga_core-0.16.0.tar.gz 47.4 kB With provenance Details for yanga_core-0.16.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for yanga-core 0.16.0
File Interpreter ABI Platform Actions
yanga_core-0.16.0-py3-none-any.whl Python 3 none any Details for yanga_core-0.16.0-py3-none-any.whl

Total release size: 114.9 kB

Release files / yanga_core-0.16.0.tar.gz

Download URL yanga_core-0.16.0.tar.gz
Size 47.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c6177b6098da922dc77c2161a696340f061bf41a16a88f1b57e6adb26732ed68
BLAKE2b-256 checksum
How to use checksums
e41b08190306f6d7fac46a1f9fffe05168a2effb5934a8e0babbfa7feaf66be8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Release files / yanga_core-0.16.0-py3-none-any.whl

Download URL yanga_core-0.16.0-py3-none-any.whl
Size 67.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
51a40726403b41d828b95bc620e9f9a51a5bb748d470efdf85871e92997e82a6
BLAKE2b-256 checksum
How to use checksums
779da917728c764549c2df0718ba9b817ea73be8f0ae384a30db389f0b21181b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 20, 2026.

Transparency log

Security for yanga-core 0.16.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for yanga_core-0.16.0.tar.gz

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 Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page