cffi
brew install cffiC Foreign Function Interface for Python
https://cffi.readthedocs.io/en/latest/
License: MIT-0
Development: Pull requests
Formula JSON API: /api/formula/cffi.json
Formula code: cffi.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 2.1.1 |
Revision: 1
Depends on:
| pycparser | 3.12 | C parser in Python |
Depends on when building from source:
| python-setuptools | 84.2.1 | Easily download, build, install, upgrade, and uninstall Python packages |
| python@3.14 | 3.14.10 | Interpreted, interactive, object-oriented programming language |
| python@3.15 | 3.15.2 | Interpreted, interactive, object-oriented programming language |
Uses from macOS: libffi
Binaries:
cffi-gen-src
GitHub Packages downloads:
| Last 30 days | 478,974 |
|---|---|
| Downloads | 12,654,691 |
| Analytics install events (30 days) | 34,004 |
| Downloads / install events (30 days) | 14.1× |
Source: GitHub Packages, fetched 2026-12-02T00:59:07Z. Analytics dates: 2026-11-02 to 2026-12-02. 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 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 34,002 | 102,184 | 292,449 |
Installs (--HEAD) | 2 | 9 | 33 |
| Installs on Request | 1,457 | 4,820 | 17,091 |
Installs on Request (--HEAD) | 1 | 5 | 26 |
| Build Errors | 1,832 |