{"categories":[{"label":"Quality Assurance","url":"https://skillfed.io/packages/category/software-development-quality-assurance/2"}],"enrichment":{"capability":"Pyclang wraps clang-tidy to run static analysis checks on C/C++ code directories, with chainable methods for configuring analysis steps and a command-line interface for common workflows.","skillfed_tags":["static-analysis","clang-tidy","build-automation"],"use_cases":["Automate clang-tidy analysis in CI/CD pipelines for C/C++ projects without writing shell wrappers","Run static analysis on ESP-IDF projects using the predefined idf_clang_tidy script with standard workflow steps","Build custom analysis workflows by chaining Runner methods to configure, filter, and normalize code quality checks","Integrate clang-tidy into Python-based build systems or project management tools that need programmatic control"],"what_it_does":"Pyclang is a Python wrapper around clang-tidy, the LLVM static analysis tool for C and C++. It provides a chainable API to orchestrate clang-tidy runs across directories, allowing you to compose analysis workflows programmatically\u2014configure the build environment, filter files, run the analysis, and normalize results\u2014without writing shell scripts. The package includes a built-in command-line script (idf_clang_tidy) for ESP-IDF projects that chains common steps automatically.\n\nThe core design centers on the Runner class: you instantiate it with a list of directories, chain method calls to define your analysis pipeline, then invoke the instance to execute all steps. You can also subclass Runner and use the @chain decorator to add custom analysis steps. It depends on esp-pylib for environment handling and rich for terminal output formatting.","worth_installing":"Yes, if you need to run clang-tidy from Python or automate it in a build pipeline. Low install friction, permissive license, no known vulnerabilities, and active maintenance make it a safe choice. Verify that clang-tidy itself is available on your system and that esp-pylib meets your environment requirements."},"id":"pyclang","links":{"html":"https://skillfed.io/packages/pyclang","md":"https://skillfed.io/packages/pyclang.md","pypi":"https://pypi.org/project/pyclang/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-13","license_spdx":null,"license_treatment":"permissive","name":"pyclang","python_support":"supports_current","summary":"A python clang-tidy runner"},"popularity":{"monthly_downloads":489584,"position":6375,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.7.0"}
