Python - Extension Programming with C Python modules in C - Dan Foreman-Mackey Python Programming/Extending with C Python and C/C++: Python extensions and embedding (github)