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

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
Cython-0.28.5-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) Copy SHA256 hash SHA256 Wheel cp27 Aug 3, 2018
Cython-0.28.5-cp27-cp27m-manylinux1_i686.whl (2.8 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 3, 2018
Cython-0.28.5-cp27-cp27m-manylinux1_x86_64.whl (3.3 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 3, 2018
Cython-0.28.5-cp27-cp27mu-manylinux1_i686.whl (2.8 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 3, 2018
Cython-0.28.5-cp27-cp27mu-manylinux1_x86_64.whl (3.3 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 3, 2018
Cython-0.28.5-cp27-cp27m-win32.whl (2.2 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 3, 2018
Cython-0.28.5-cp27-cp27m-win_amd64.whl (2.5 MB) Copy SHA256 hash SHA256 Wheel cp27 Aug 3, 2018
Cython-0.28.5-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.2 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 3, 2018
Cython-0.28.5-cp34-cp34m-manylinux1_i686.whl (2.9 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 3, 2018
Cython-0.28.5-cp34-cp34m-manylinux1_x86_64.whl (3.3 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 3, 2018
Cython-0.28.5-cp34-cp34m-win32.whl (2.2 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 3, 2018
Cython-0.28.5-cp34-cp34m-win_amd64.whl (2.5 MB) Copy SHA256 hash SHA256 Wheel cp34 Aug 3, 2018
Cython-0.28.5-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.2 MB) Copy SHA256 hash SHA256 Wheel cp35 Aug 3, 2018
Cython-0.28.5-cp35-cp35m-manylinux1_i686.whl (2.9 MB) Copy SHA256 hash SHA256 Wheel cp35 Aug 3, 2018
Cython-0.28.5-cp35-cp35m-manylinux1_x86_64.whl (3.3 MB) Copy SHA256 hash SHA256 Wheel cp35 Aug 3, 2018
Cython-0.28.5-cp35-cp35m-win32.whl (2.2 MB) Copy SHA256 hash SHA256 Wheel cp35 Aug 3, 2018
Cython-0.28.5-cp35-cp35m-win_amd64.whl (2.4 MB) Copy SHA256 hash SHA256 Wheel cp35 Aug 3, 2018
Cython-0.28.5-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.3 MB) Copy SHA256 hash SHA256 Wheel cp36 Aug 3, 2018
Cython-0.28.5-cp36-cp36m-manylinux1_i686.whl (3.0 MB) Copy SHA256 hash SHA256 Wheel cp36 Aug 3, 2018
Cython-0.28.5-cp36-cp36m-manylinux1_x86_64.whl (3.4 MB) Copy SHA256 hash SHA256 Wheel cp36 Aug 3, 2018
Cython-0.28.5-cp36-cp36m-win32.whl (2.2 MB) Copy SHA256 hash SHA256 Wheel cp36 Aug 3, 2018
Cython-0.28.5-cp36-cp36m-win_amd64.whl (2.5 MB) Copy SHA256 hash SHA256 Wheel cp36 Aug 3, 2018
Cython-0.28.5-cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64.whl (5.3 MB) Copy SHA256 hash SHA256 Wheel cp37 Aug 3, 2018
Cython-0.28.5-cp37-cp37m-manylinux1_i686.whl (3.0 MB) Copy SHA256 hash SHA256 Wheel cp37 Aug 3, 2018
Cython-0.28.5-cp37-cp37m-manylinux1_x86_64.whl (3.4 MB) Copy SHA256 hash SHA256 Wheel cp37 Aug 3, 2018
Cython-0.28.5-cp37-cp37m-win32.whl (2.2 MB) Copy SHA256 hash SHA256 Wheel cp37 Aug 3, 2018
Cython-0.28.5-cp37-cp37m-win_amd64.whl (2.5 MB) Copy SHA256 hash SHA256 Wheel cp37 Aug 3, 2018
Cython-0.28.5.tar.gz (1.9 MB) Copy SHA256 hash SHA256 Source None Aug 3, 2018

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 DigiCert DigiCert EV certificate StatusPage StatusPage Status page