Skip to content
Jamie Drisdelle edited this page Sep 9, 2016 · 1 revision

Using Cython

Cython allows for both very fast program execution and tight integration with external C libraries, while allowing developers to write code using Python. The primary file used by Cython is .pyx which can be compiled into a .pyd. The compiled Cython file can be used directly in python adapter function. If you opt to use the compiled Cython (.pyd) file as an input to the python adapter function all of your code must reside in the cython file.

Setting up Cython**

  1. Download Cython from https://pypi.python.org/pypi/Cython.
  2. Extract the files to a location on your computer.
  3. Open the command prompt window and navigate to the location of the extracted files.
  4. Run the following command: setup.py install.