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 days645,308
Downloads12,701,561
Analytics install events (30 days)47,857
Downloads / install events (30 days)13.5×

Source: GitHub Packages, fetched 2026-11-24T00:50:42Z. Analytics dates: 2026-10-25 to 2026-11-24. 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
Installs47,850112,751277,874
Installs (--HEAD)71134
Installs on Request2,1044,73817,424
Installs on Request (--HEAD)61031
Build Errors0