pycparser

C parser in Python

About pycparser

C parser in Python

Key Features

  • Pure-Python parser for C language code
  • Generates an abstract syntax tree for C sources
  • Useful for static analysis and code transformation tasks
  • Frequently used by CFFI-based binding workflows

Installation

uv add pycparser

Related Tools

Quick Info

Latest Version
3.0
First Release
2011
License
Unknown

About pytools.dev

pytools.dev is your go-to directory for the best Python tools, libraries, and frameworks—designed for the modern Python developer.

© 2026 pytools.dev. All rights reserved.
Created with ❤️ by James Fricker