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@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 | 583,307 |
|---|---|
| Downloads | 12,333,015 |
| Analytics install events (30 days) | 45,813 |
| Downloads / install events (30 days) | 12.7× |
Source: GitHub Packages, fetched 2026-11-12T00:51:28Z. Analytics dates: 2026-10-13 to 2026-11-12. 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 | 45,806 | 107,387 | 281,284 |
Installs (--HEAD) | 7 | 13 | 34 |
| Installs on Request | 2,505 | 4,943 | 17,542 |
Installs on Request (--HEAD) | 3 | 8 | 27 |
| Build Errors | 1,413 |