ctypesgen
Python wrapper generator for ctypes
Python wrapper generator for ctypes
To install this package, run one of the following:
ctypesgen reads parses c header files and creates a wrapper for libraries based on what it finds. Preprocessor macros are handled in a manner consistent with typical c code. Preprocessor macro functions are translated into Python functions that are then made available to the user of the newly-generated Python wrapper library. ctypesgen can also output JSON, which can be used with Mork, which generates bindings for Lua, using the alien module (which binds libffi to Lua).
Summary
Python wrapper generator for ctypes
Last Updated
Sep 8, 2025 at 14:37
License
BSD-2-Clause
Total Downloads
8
GitHub Repository
https://github.com/ctypesgen/ctypesgen.gitDocumentation
https://github.com/ctypesgen/ctypesgen