Cython
Compiles Python to C for performance-critical code and C extensions.
Languages, types and runtimes PyPI Apache-2.0
How Cython is used
Cython is a dependency in 4 of the 6,208 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 2,661, Ethereum and EVM 1,496, 3D and games 2,818, agent frameworks and SDKs 10,983); counting those, it appears in 162 projects, and what it is used with below comes from all of them. The most used alternative in our scan is CFFI (40 projects). Projects that use it most often also use NumPy (91.4%), Click (87.7%), Pillow (86.4%).
Cython popularity over time
Gid Score 67: downloads 92, use in agent projects 58, GitHub stars 51, downloads trend 49 (each 0-100). How it is calculated.
Often used with Cython
| NumPy | 91.4% of Cython projects · 15.7× more than average |
|---|---|
| Click | 87.7% of Cython projects · 35.1× more than average |
| Pillow | 86.4% of Cython projects · 22.5× more than average |
| Requests | 85.2% of Cython projects · 12.5× more than average |
| attrs | 84.6% of Cython projects · 122.1× more than average |
| Jinja2 | 83.3% of Cython projects · 38.3× more than average |
| python-dateutil | 82.7% of Cython projects · 50.3× more than average |
| Pygments | 82.1% of Cython projects · 80.9× more than average |
From all 162 projects in our scan that use Cython, including the dependency samples.
How Cython is funded
GitHub Sponsors
| @scoder | 23 current sponsors |
|---|
GitHub shows how many people and companies sponsor an account, not how much they pay. Sponsors of a person back all of their work, which here includes lxml, fastrlock, Lupa.
Ways to fund Cython
GitHub Sponsors Tidelift Own page
As the maintainers list them in FUNDING.yml on GitHub and on PyPI. Checked Oct 20, 2026.
Install
| Package | pip install cython |
|---|---|
| Main stacks | Python (162) |
| Example projects | iniwap/AIWriteX, BlackArbsCEO/Adv_Fin_ML_Exercises, TIGER-AI-Lab/TheoremExplainAgent, rsanshierli/EasyBert, jaidevshriram/realmdreamer |
Alternatives to Cython
Tools that do the same job, so a project picks one or the other. Add-ons and libraries used alongside Cython are not listed here; they are in "Often used with".
| Tool | Gid Score | Used in agent projects | Downloads / wk | GitHub stars | License |
|---|---|---|---|---|---|
| CFFI pypi Foreign Function Interface for calling C code from Python. |
64 | 40 (2.5%) | 264M | 283 | MIT-0 |
More in Languages, types and runtimes: TypeScript tsx ts-node jiti vue-tsc Cloudflare Workers Types mypy tsconfig-paths