{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/9"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"},{"label":"Compilers","url":"https://skillfed.io/packages/category/software-development-compilers"}],"enrichment":{"capability":"Parses C++ header files into Python data structures, extracting class definitions, functions, and modern C++ constructs without requiring a full AST or compiler validation.","skillfed_tags":["c++-parsing","binding-generation","code-analysis"],"use_cases":["Generate language bindings for C++ libraries by extracting function and class signatures from headers","Analyze C++ codebases to build documentation or dependency graphs without invoking a compiler","Extract type information and method signatures for IDE integration or code generation tools","Preprocess and parse C++ headers in build systems where full compilation is not feasible"],"what_it_does":"cxxheaderparser is a pure-Python C++ header parser designed to extract structural information from C++ headers for use in binding generators and code analysis tools. It parses syntactically valid C++ including modern features (C++11 and beyond) and produces either a visitor-style interface for custom processing or a simple data structure containing all parsed elements. The parser does not produce a full AST, does not validate C++ correctness, and requires preprocessed input if macros are present\u2014it trades completeness for practicality, aiming to handle common C++ patterns while acknowledging it may struggle with obscure or overly complex constructs.\n\nThe package is a rewrite of CppHeaderParser, designed to provide a cleaner, documented API and better support for modern C++ features. It ships with a command-line interface for dumping parsed headers in multiple formats (pprint, JSON, dataclasses repr) and is actively maintained with support for Python 3.6+.","worth_installing":"Yes, if you need to parse C++ headers for binding generation or code analysis. Low install friction, active maintenance, no security issues, and permissive licensing make it a practical choice. Caveat: not suitable if you need full AST semantics, C++ validation, or comprehensive C++17/20 support\u2014use Clang or a compiler for those cases."},"id":"cxxheaderparser","links":{"html":"https://skillfed.io/packages/cxxheaderparser","md":"https://skillfed.io/packages/cxxheaderparser.md","pypi":"https://pypi.org/project/cxxheaderparser/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-20","license_spdx":"BSD-3-Clause","license_treatment":"permissive","name":"cxxheaderparser","python_support":"supports_current","summary":"Modern C++ header parser"},"popularity":{"monthly_downloads":365721,"position":7207,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.9.2"}
