This repository is my cython library. Perhaps, if you want to use cython, this repository is useful for you.
Especially, calculation.pyx, calculation.pxd, coreutils.c, and, coreutils.h help you to write codes. In addition to this, you should refer numpy example and scipy example.
python setup.py install
sudo apt-get install libopenblas-dev
or
sudo apt-get install git python-dev gfortran
git clone https://github.com/xianyi/OpenBLAS
cd OpenBLAS
make FC=gfortran
sudo make PREFIX=/opt/openblas install
export LD_LIBRARY_PATH=/opt/OpenBLAS/lib:$LD_LIBRARY_PATH > ~/.bashrc
And this japanese page https://qiita.com/yukiB/items/bec24db4a5a41db02895 and https://qiita.com/higucheese/items/9ae1cf9611aaadfdc073.