{"library":"clang","type":"library","category":null,"description":"The `clang` package provides Python bindings for libclang, enabling programmatic interaction with Clang's C/C++/Objective-C abstract syntax trees (ASTs), parsing source code, and accessing compiler information. It is maintained as part of the broader LLVM project and typically releases in sync with major LLVM versions. The current version is 21.1.7.","language":"python","status":"active","version":"21.1.7","tags":["clang","llvm","compiler","ast","c","c++","bindings","static-analysis"],"last_verified":"Fri May 22","install":[{"cmd":"pip install clang","imports":["from clang.cindex import Index","from clang.cindex import Config","from clang.cindex import Cursor","from clang.cindex import TranslationUnit"]}],"homepage":"http://clang.llvm.org/","github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/clang/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.05,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/clang/compatibility"}}