{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"},{"label":"Linux","url":"https://skillfed.io/packages/category/system-operating-system-kernels-linux"}],"enrichment":{"capability":"Kconfiglib is a Python implementation of the Kconfig configuration language used in Linux kernel builds and embedded systems, providing both a library API and command-line tools for parsing, generating, and interactively editing Kconfig files.","skillfed_tags":["kconfig-parser","embedded-systems","build-automation"],"use_cases":["Parse and programmatically query Kconfig files in embedded firmware projects to extract symbol definitions and dependencies.","Generate C configuration headers at build time from Kconfig selections using the genconfig utility.","Provide an interactive terminal or GUI menuconfig interface for end-users to configure embedded systems or kernel options.","Automate configuration management in CI/CD pipelines by setting or validating Kconfig symbols via the setconfig or oldconfig utilities.","Generate Kconfig cross-reference documentation by leveraging the library's robust parser instead of brittle ad-hoc text parsing."],"what_it_does":"Kconfiglib is a complete Kconfig parser and implementation written in pure Python, designed to replace or supplement the C-based Kconfig tools used in Linux kernel builds and embedded systems projects. It parses Kconfig files, evaluates configuration dependencies and constraints, and provides both programmatic access via its library API and interactive command-line interfaces (menuconfig, guiconfig) for editing configurations. The library supports the Kconfig preprocessor syntax, environment variable expansion, and generates C headers from configuration selections\u2014making it suitable for build automation, documentation generation, and embedded system configuration workflows.\n\nThe package is self-contained with no third-party dependencies, runs on Python 2.7 and 3.2+, and is used in production by major projects like Zephyr RTOS, ESP-IDF, and ACRN. It includes a suite of command-line utilities (oldconfig, defconfig, allnoconfig, genconfig, setconfig, and others) that mirror the behavior of traditional Kconfig tools, allowing developers to script configuration workflows or integrate Kconfig handling into custom build systems.","worth_installing":"Yes, if you work with Kconfig files in embedded systems, kernel builds, or projects using Zephyr, esp-idf, or similar frameworks. The package is production-stable, dependency-free, and widely trusted. No, if you require active maintenance or compatibility guarantees with the latest kernel versions\u2014the last release was January 2020 and maintenance is dormant. For most use cases, the stable feature set and lack of dependencies make it a safe choice despite the age."},"id":"kconfiglib","links":{"html":"https://skillfed.io/packages/kconfiglib","md":"https://skillfed.io/packages/kconfiglib.md","pypi":"https://pypi.org/project/kconfiglib/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2020-01-31","license_spdx":null,"license_treatment":"permissive","name":"kconfiglib","python_support":"supports_current","summary":"A flexible Python Kconfig implementation"},"popularity":{"monthly_downloads":1376652,"position":3985,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"14.1.0"}
