{
 "kind": "tool",
 "slug": "libclang",
 "path": "tools/libclang/",
 "name": "libclang",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Languages, types and runtimes",
   "tools/languages-types/"
  ]
 ],
 "lead": "Python bindings for LLVM/Clang compiler infrastructure.",
 "chips": [
  {
   "label": "Languages, types and runtimes",
   "path": "tools/languages-types/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install libclang"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/sighingnow/libclang"
  },
  {
   "label": "Website",
   "href": "https://github.com/sighingnow/libclang"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/sighingnow/libclang"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Feb 3, 2025",
   "note": "Latest GitHub release Mar 18, 2024. ",
   "src": "https://github.com/sighingnow/libclang"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "3 projects",
   "status": "info",
   "sub": "#36 of 70 in its category",
   "note": "Dependency in 3 public GitHub projects set up for AI coding agents that we scanned (0.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What libclang does",
   "parts": [
    {
     "t": "prose",
     "text": "Python bindings for LLVM/Clang compiler infrastructure."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "libclang popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "45",
       "of": "/ 100",
       "l": "Gid Score, #2550 overall"
      },
      {
       "n": "2M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "103",
       "l": "GitHub stars"
      },
      {
       "n": "3",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How libclang is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "libclang is a dependency in 3 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 105 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is pycparser (39 projects).",
      "Projects that use it most often also use FlatBuffers (99.0%), gRPC (99.0%), h5py (98.1%)."
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 99.0% of its projects",
       "v": "FlatBuffers",
       "path": "tools/flatbuffers/"
      },
      {
       "l": "In 99.0% of its projects",
       "v": "gRPC",
       "path": "tools/grpcio/"
      },
      {
       "l": "In 98.1% of its projects",
       "v": "h5py",
       "path": "tools/h5py/"
      },
      {
       "l": "In 98.1% of its projects",
       "v": "MarkupSafe",
       "path": "tools/markupsafe/"
      },
      {
       "l": "In 98.1% of its projects",
       "v": "NumPy",
       "path": "tools/numpy/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about libclang",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "More in Languages, types and runtimes",
       "path": "tools/languages-types/",
       "items": [
        {
         "text": "TypeScript",
         "path": "tools/typescript/"
        },
        {
         "text": "tsx",
         "path": "tools/tsx/"
        },
        {
         "text": "ts-node",
         "path": "tools/ts-node/"
        },
        {
         "text": "jiti",
         "path": "tools/jiti/"
        },
        {
         "text": "vue-tsc",
         "path": "tools/vue-tsc/"
        },
        {
         "text": "Cloudflare Workers Types",
         "path": "tools/cloudflare-workers-types/"
        },
        {
         "text": "mypy",
         "path": "tools/mypy/"
        },
        {
         "text": "tsconfig-paths",
         "path": "tools/tsconfig-paths/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "libclang",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 45",
        "2M/wk"
       ]
      },
      {
       "name": "pycparser",
       "why": "C language parser written in pure Python for language tools.",
       "path": "tools/pycparser/",
       "facts": [
        "BSD-3-Clause",
        "Gid 73",
        "282M/wk"
       ]
      }
     ],
     "more": "Compare libclang with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install libclang"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for libclang yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi libclang"
  ],
  [
   "Category",
   "Languages, types and runtimes"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "45.0"
  ],
  [
   "Rank in category",
   "#36 of 70"
  ],
  [
   "GitHub",
   "sighingnow/libclang"
  ],
  [
   "Last change",
   "Feb 3, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/sighingnow.png"
}