- Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex).
- Cython is an optimizing static which makes writing C extensions for Python as easy as writing Python itself.
- As Cython can accept almost any valid python source file, one of the hardest things in getting started is just figuring out how to compile your extension.
- Cython is a source code translator based on Pyrex, but supports more cutting edge functionality and optimizations.
- Version:3.0.11 · 5 August 2024
pip install Cython
- Cython itself is licensed under the permissive Apache License.
- Issues:1.2k
- Last commit:5 August 2024
- Cython (/ˈsaɪθɒn/) is a superset of the programming language Python, which allows developers to write Python code (with optional, C-inspired syntax extensions)...
- Cython works by taking a code like sieve_ct.pyx that right now is exactly identical to the original and create a C code sieve_ct.c that can be compiled into a shared...
- But there is also a way to make your Python projects faster while keeping the code base nearly the same using Cython.
- ••• Cython is an optimizing static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex).
- Meson provides native support for cython programs starting with version 0.59.0.