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 for 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 7.0 (wheezy) 0.15.1-2    
Debian GNU/Linux 8.0 (jessie) 0.21.1-1    
Debian GNU/Linux 9.0 (stretch) 0.25.2-1    
Debian testing (buster) 0.26.1-0.4    
Debian unstable (sid) 0.26.1-0.4 0.13-1~nd+1 i386, amd64
Ubuntu 12.04 LTS “Precise Pangolin” (precise) 0.15.1-1ubuntu1    
Ubuntu 14.04 “Trusty Tahr” (trusty) 0.20.1+git90-g0e6e38e-1ubuntu2    
Ubuntu 16.04 “Xenial Xerus” (xenial) 0.23.4-0ubuntu5    
Ubuntu 16.10 “Yakkety Yak” (yakkety) 0.24.1-2    
Ubuntu 17.04 “Zesty Zapus” (zesty) 0.25.2-1    
Ubuntu 17.10 “Artful Aardvark” (artful) 0.25.2-2build3    

Comments

blog comments powered by Disqus