Used in agent projects
84
0.7% of 12,697 public repos built with AI coding agents
Rank in languages, types and runtimes
#8 of 18
by use in those projects
Downloads
248M
PyPI, last 7 days, cffi
GitHub stars
280
last push Oct 6, 2026
How CFFI is used
CFFI is a dependency in 84 of the 12,697 public GitHub projects set up for AI coding agents that we scanned (0.7%), #8 of 18 in languages, types and runtimes. The most used alternative there is TypeScript. Projects that use it most often also use pycparser (97.6%), Requests (89.3%), urllib3 (88.1%).
Often used with CFFI
| pycparser | 97.6% of CFFI projects · 149.3× more than average |
|---|---|
| Requests | 89.3% of CFFI projects · 16.8× more than average |
| urllib3 | 88.1% of CFFI projects · 58.0× more than average |
| charset-normalizer | 86.9% of CFFI projects · 69.8× more than average |
| AnyIO | 84.5% of CFFI projects · 57.7× more than average |
| attrs | 82.1% of CFFI projects · 81.5× more than average |
By coding agent
| GitHub Copilot | 0.9% of projects set up for it |
|---|---|
| Claude Code | 0.7% of projects set up for it |
| Cursor | 0.5% of projects set up for it |
Share of public repos configured for each agent that list CFFI as a dependency.
Install
| Package | pip install cffi |
|---|---|
| Main stacks | Python (81), Next.js (2), Other (1) |
| Example projects | solana-developers/solana-cookbook, twjackysu/TWSEMCPServer, microsoft/edge-ai, siiway/NextBridge, DelineaXPM/delinea-mcp |
Alternatives to CFFI
| Tool | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|
| TypeScript npm Language for application-scale JavaScript development with static type checking. |
7,092 (55.9%) | 305M | 111K | Apache-2.0 |
| tsx npm Node.js enhanced with esbuild to run TypeScript and ESM files. |
1,262 (9.9%) | 96.8M | 12.2K | MIT |
| ts-node npm TypeScript execution environment for Node.js with source map support. |
865 (6.8%) | 45.6M | 13.1K | MIT |
| vue-tsc npm TypeScript type checker for Vue.js single-file components. |
111 (0.9%) | 6.5M | 6,724 | MIT |
| tsconfig-paths npm Module resolution utility that loads Node.js modules according to TypeScript path mappings. |
86 (0.7%) | 113M | 1,908 | MIT |
| Cloudflare Workers Types npm TypeScript type definitions for Cloudflare Workers runtime. |
84 (0.7%) | 12.1M | 8,888 | MIT OR Apache-2.0 |
| jiti npm Runtime TypeScript and ESM support for Node.js without build steps. |
84 (0.7%) | 19M | 2,973 | MIT |
| pycparser pypi C language parser written in pure Python for language tools. |
83 (0.7%) | 23M | 3,575 | — |