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 | RSS feed

This version

0.29

Download files

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

Source Distribution

Cython-0.29.tar.gz (2.0 MB view hashes)

Uploaded Source

Built Distributions

Cython-0.29-cp37-cp37m-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.7m Windows x86-64

Cython-0.29-cp37-cp37m-win32.whl (1.6 MB view hashes)

Uploaded CPython 3.7m Windows x86

Cython-0.29-cp37-cp37m-manylinux1_x86_64.whl (2.1 MB view hashes)

Uploaded CPython 3.7m

Cython-0.29-cp37-cp37m-manylinux1_i686.whl (1.9 MB view hashes)

Uploaded CPython 3.7m

Cython-0.29-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 (2.9 MB view hashes)

Uploaded CPython 3.7m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

Cython-0.29-cp36-cp36m-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.6m Windows x86-64

Cython-0.29-cp36-cp36m-win32.whl (1.6 MB view hashes)

Uploaded CPython 3.6m Windows x86

Cython-0.29-cp36-cp36m-manylinux1_x86_64.whl (2.1 MB view hashes)

Uploaded CPython 3.6m

Cython-0.29-cp36-cp36m-manylinux1_i686.whl (1.9 MB view hashes)

Uploaded CPython 3.6m

Cython-0.29-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 (2.9 MB view hashes)

Uploaded CPython 3.6m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

Cython-0.29-cp35-cp35m-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.5m Windows x86-64

Cython-0.29-cp35-cp35m-win32.whl (1.5 MB view hashes)

Uploaded CPython 3.5m Windows x86

Cython-0.29-cp35-cp35m-manylinux1_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.5m

Cython-0.29-cp35-cp35m-manylinux1_i686.whl (1.8 MB view hashes)

Uploaded CPython 3.5m

Cython-0.29-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 (2.8 MB view hashes)

Uploaded CPython 3.5m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

Cython-0.29-cp34-cp34m-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 3.4m Windows x86-64

Cython-0.29-cp34-cp34m-win32.whl (1.6 MB view hashes)

Uploaded CPython 3.4m Windows x86

Cython-0.29-cp34-cp34m-manylinux1_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 3.4m

Cython-0.29-cp34-cp34m-manylinux1_i686.whl (1.8 MB view hashes)

Uploaded CPython 3.4m

Cython-0.29-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 (2.8 MB view hashes)

Uploaded CPython 3.4m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

Cython-0.29-cp27-cp27mu-manylinux1_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 2.7mu

Cython-0.29-cp27-cp27mu-manylinux1_i686.whl (1.8 MB view hashes)

Uploaded CPython 2.7mu

Cython-0.29-cp27-cp27m-win_amd64.whl (1.7 MB view hashes)

Uploaded CPython 2.7m Windows x86-64

Cython-0.29-cp27-cp27m-win32.whl (1.6 MB view hashes)

Uploaded CPython 2.7m Windows x86

Cython-0.29-cp27-cp27m-manylinux1_x86_64.whl (2.0 MB view hashes)

Uploaded CPython 2.7m

Cython-0.29-cp27-cp27m-manylinux1_i686.whl (1.8 MB view hashes)

Uploaded CPython 2.7m

Cython-0.29-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 (2.8 MB view hashes)

Uploaded CPython 2.7m macOS 10.10+ intel macOS 10.10+ x86-64 macOS 10.6+ intel macOS 10.9+ intel macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page