cython – C-Extensions for Python

Cython is a language that makes writing C extensions for the Python language as easy as Python itself. Cython is based on the well-known Pyrex, but supports more cutting edge functionality and optimizations.

The Cython language is very close to the Python language, but Cython 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.

Package availability chart
Distribution Base version Our version Architectures
Debian GNU/Linux 10.0 (buster) 0.29.2-2    
Debian GNU/Linux 9.0 (stretch) 0.25.2-1 0.29.2-2+nd1~nd90+1 i386, amd64
Debian testing (bullseye) 0.29.21-3    
Debian unstable (sid) 0.29.21-3 0.13-1~nd+1 i386, amd64
Ubuntu 16.04 “Xenial Xerus” (xenial) 0.23.4-0ubuntu5    
Ubuntu 18.04 “Bionic Beaver” (bionic) 0.26.1-0.4    
Ubuntu 20.04 “Focal Fossa” (focal) 0.29.14-0.1ubuntu3    
Ubuntu 20.10 “Groovy Gorilla” (groovy) 0.29.21-1ubuntu1    

Comments

blog comments powered by Disqus