I've recently began working as an RA for Matt Taddy , doing some work with his projects on distributed multinomial regressions and gamma lassos. Part of this work involves wrapping C code in python (the C was originally wrapped in R). I have little experience in this matter and, among Cython, SWIG, and a host of other options, decided to use ctypes, which seems to be most appropriate for already-built c code.