Skip to main content

The Cython compiler for writing C extensions for the Python language.

Project description

The Cython language makes writing C extensions for the Python language as easy as Python itself. Cython is a source code translator based on Pyrex, but supports more cutting edge functionality and optimizations.

The Cython language is a superset of the Python language (almost all Python code is also valid Cython code), but Cython additionally supports optional static typing to natively call C functions, operate with C++ classes and declare fast 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 writing glue code for external C/C++ libraries, and for fast C modules that speed up the execution of Python code.

Note that for one-time builds, e.g. for CI/testing, on platforms that are not covered by one of the wheel packages provided on PyPI, it is substantially faster than a full source build to install an uncompiled (slower) version of Cython with:

pip install Cython --install-option="--no-cython-compile"

Release history Release notifications

This version

0.28

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for Cython, version 0.28
Filename, size File type Python version Upload date Hashes
Filename, size Cython-0.28-cp26-cp26m-manylinux1_i686.whl (2.8 MB) File type Wheel Python version cp26 Upload date Hashes View hashes
Filename, size Cython-0.28-cp26-cp26m-manylinux1_x86_64.whl (3.3 MB) File type Wheel Python version cp26 Upload date Hashes View hashes
Filename, size Cython-0.28-cp26-cp26mu-manylinux1_i686.whl (2.8 MB) File type Wheel Python version cp26 Upload date Hashes View hashes
Filename, size Cython-0.28-cp26-cp26mu-manylinux1_x86_64.whl (3.3 MB) File type Wheel Python version cp26 Upload date Hashes View hashes
Filename, size Cython-0.28-cp27-cp27m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (5.1 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size Cython-0.28-cp27-cp27m-manylinux1_i686.whl (2.8 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size Cython-0.28-cp27-cp27m-manylinux1_x86_64.whl (3.3 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size Cython-0.28-cp27-cp27mu-manylinux1_i686.whl (2.8 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size Cython-0.28-cp27-cp27mu-manylinux1_x86_64.whl (3.3 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size Cython-0.28-cp27-cp27m-win32.whl (2.2 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size Cython-0.28-cp27-cp27m-win_amd64.whl (2.5 MB) File type Wheel Python version cp27 Upload date Hashes View hashes
Filename, size Cython-0.28-cp33-cp33m-macosx_10_6_x86_64.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (5.1 MB) File type Wheel Python version cp33 Upload date Hashes View hashes
Filename, size Cython-0.28-cp33-cp33m-manylinux1_i686.whl (2.9 MB) File type Wheel Python version cp33 Upload date Hashes View hashes
Filename, size Cython-0.28-cp33-cp33m-manylinux1_x86_64.whl (3.3 MB) File type Wheel Python version cp33 Upload date Hashes View hashes
Filename, size Cython-0.28-cp34-cp34m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (5.1 MB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size Cython-0.28-cp34-cp34m-manylinux1_i686.whl (2.9 MB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size Cython-0.28-cp34-cp34m-manylinux1_x86_64.whl (3.3 MB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size Cython-0.28-cp34-cp34m-win32.whl (2.2 MB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size Cython-0.28-cp34-cp34m-win_amd64.whl (2.5 MB) File type Wheel Python version cp34 Upload date Hashes View hashes
Filename, size Cython-0.28-cp35-cp35m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (5.1 MB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size Cython-0.28-cp35-cp35m-manylinux1_i686.whl (2.9 MB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size Cython-0.28-cp35-cp35m-manylinux1_x86_64.whl (3.3 MB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size Cython-0.28-cp35-cp35m-win32.whl (2.2 MB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size Cython-0.28-cp35-cp35m-win_amd64.whl (2.4 MB) File type Wheel Python version cp35 Upload date Hashes View hashes
Filename, size Cython-0.28-cp36-cp36m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (5.2 MB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size Cython-0.28-cp36-cp36m-manylinux1_i686.whl (3.0 MB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size Cython-0.28-cp36-cp36m-manylinux1_x86_64.whl (3.4 MB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size Cython-0.28-cp36-cp36m-win32.whl (2.2 MB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size Cython-0.28-cp36-cp36m-win_amd64.whl (2.5 MB) File type Wheel Python version cp36 Upload date Hashes View hashes
Filename, size Cython-0.28.tar.gz (1.8 MB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page