pycparser

Install command:
brew install pycparser

C parser in Python

https://github.com/eliben/pycparser

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/pycparser.json

Formula code: pycparser.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable ✅ 3.12

Depends on when building from source:

python-setuptools 84.2.1 Easily download, build, install, upgrade, and uninstall Python packages
python@3.15 3.15.2 Interpreted, interactive, object-oriented programming language

GitHub Packages downloads:

Last 30 days801,915
Downloads12,516,206
Analytics install events (30 days)58,201
Downloads / install events (30 days)13.8×

Source: GitHub Packages, fetched 2026-11-14T00:20:30Z. Analytics dates: 2026-10-15 to 2026-11-14. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs58,193104,322271,474
Installs (--HEAD)81037
Installs on Request2,7844,47817,645
Installs on Request (--HEAD)81035
Build Errors0