Skip to content

Latest commit

 

History

History
6 lines (4 loc) · 401 Bytes

README.md

File metadata and controls

6 lines (4 loc) · 401 Bytes

cython-simple-wrapper

This is an extremely simplified example of how-to-create a Cython wrapper for your C modules, in order to use them easily with python. Here I have a fibonacci function written in calcul.c, and I want to compile it (=> .so), write the cython wrapper, create a python module (=> .so too), import it and use it.

See http://ascii.io/a/1434 . (a little buggy)