How to use Cython to create Python wrappers for C libraries