Source Code: Automatic C Library Wrapping -- Ctypes from the Trenches


Abstract


At some point of time many Python developers -- at least in computational science -- will face the situation that they want to nterface some natively compiled library from Python. For binding ative code to Python by now a larger variety of tools and echnologies are available. This paper focuses on wrapping shared C ibraries, using Python's default ctypes, with the help of the matching source code generator from ctypeslib.


Full Text:

PDF ZIP