aboutsummaryrefslogtreecommitdiff
path: root/lang/cython3/pkg-descr
blob: e06adf8ec27b672bd708609d580981346ced6f25 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
Cython is a Python compiler that makes writing C extensions for Python as easy
as Python itself. Cython is based on Pyrex, but supports more cutting edge
functionality and optimizations.

Cython translates Python code to C/C++ code, but additionally supports calling C
functions and declaring C types on variables and class attributes. This allows
the compiler to generate very efficient C code from Cython code.

This makes Cython the ideal language for wrapping external C libraries, and for
fast C modules that speed up the execution of Python code.