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 days931,773
Downloads12,279,230
Analytics install events (30 days)69,882
Downloads / install events (30 days)13.3×

Source: GitHub Packages, fetched 2026-11-03T00:38:37Z. Analytics dates: 2026-10-04 to 2026-11-03. 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
Installs69,87592,473262,575
Installs (--HEAD)7736
Installs on Request3,2564,01217,859
Installs on Request (--HEAD)7734
Build Errors0