Source code: automatic C library wrapping - Ctypes from the trenches

Loading...
Thumbnail Image

Date

2009

DOI

Open Access Location

Journal Title

Journal ISSN

Volume Title

Publisher

Massey University

Rights

Abstract

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

Description

Keywords

Python (Programming language), Ctypes, Code generation

Citation

Kloss, G.K. (2009), Source code: automatic C library wrapping - Ctypes from the trenches, Research Letters in the Information and Mathematical Sciences, 13, 8-13

Endorsement

Review

Supplemented By

Referenced By