CFFI — C Foreign Function Interface for Python

JSON →
library 2.0.0 ·python
verified Jun 9, 2026 install

CFFI (C Foreign Function Interface) lets Python code call C libraries by declaring C-like function signatures and types that can often be copy-pasted directly from header files. It supports four modes: ABI/API level each with inline or out-of-line (pre-compiled) preparation. The current stable release is 2.0.0 (released September 2025), requiring Python >=3.9. It is the recommended way to interface with C on PyPy and is used as a foundation by cryptography, bcrypt, and many other major Python packages.

total hits 26
actors 8 distinct systems
last hit 1h ago ClaudeBot
GPTBot
4
Amazonbot
4
ByteDance
4
MetaBot
4
Script
2
ClaudeBot
1
ChatGPT-User
1
Humans
2

top countries 🇺🇸 United States · 🇸🇬 Singapore · 🇨🇦 Canada · 🇩🇪 Germany · 🇫🇷 France