{"categories":[{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Provides Python bindings to Clang's C API, bundled with prebuilt libclang shared libraries for macOS, Windows, and Linux, eliminating the need to install LLVM separately.","skillfed_tags":["c-parsing","ast-analysis","code-generation"],"use_cases":["Build code analysis and linting tools that need to parse and inspect C/C++ source files programmatically.","Generate bindings or wrapper code from C/C++ headers by inspecting their AST structure.","Implement custom static analysis or code transformation passes on C/C++ codebases.","Extract symbol information, type definitions, or documentation from C/C++ source for IDE or documentation generation.","Automate refactoring or code migration tasks that require understanding C/C++ syntax and semantics."],"what_it_does":"libclang is a Python wrapper around Clang's C API, distributed with prebuilt libclang shared libraries to avoid requiring a full LLVM installation. It exposes Python bindings that allow code to parse C and C++ source files, inspect their abstract syntax trees, and access semantic information like type definitions and symbol locations. The package bundles static-linked libclang binaries for multiple platforms, making it straightforward to install via pip without manual LLVM setup.\n\nThe package is maintained as a mirror of the official LLVM Python bindings, with packaging and distribution infrastructure added to make it pip-installable. It targets developers who need programmatic access to Clang's parsing and analysis capabilities\u2014such as code generators, linters, refactoring tools, or static analysis frameworks\u2014without the overhead of managing LLVM toolchain installation.","worth_installing":"Yes, if you need Python-based access to Clang's parsing and analysis capabilities without installing LLVM separately. The package is production-stable, permissively licensed, and widely used (top 5000 PyPI packages). Dormant maintenance is a minor concern, but the February 2025 commit and zero known vulnerabilities suggest it remains functional. Install friction is medium due to platform-specific wheels, but this is typical for packages bundling native libraries."},"id":"libclang","links":{"html":"https://skillfed.io/packages/libclang","md":"https://skillfed.io/packages/libclang.md","pypi":"https://pypi.org/project/libclang/"},"maintenance":{"status":"dormant"},"meta":{"latest_release":"2024-03-17","license_spdx":null,"license_treatment":"permissive","name":"libclang","python_support":"unspecified","summary":"Clang Python Bindings, mirrored from the official LLVM repo: https://github.com/llvm/llvm-project/tree/main/clang/bindings/python, to make the installation process easier."},"popularity":{"monthly_downloads":14104820,"position":1246,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"18.1.1"}
