CMD + K

ctypesgen

Community

Python wrapper generator for ctypes

Installation

To install this package, run one of the following:

Conda
$conda install ad-testing::ctypesgen

Usage Tracking

1.1.1
1 / 8 versions selected
Downloads (Last 6 months): 0

Description

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).

About

Summary

Python wrapper generator for ctypes

Last Updated

Sep 8, 2025 at 14:37

License

BSD-2-Clause

Total Downloads

8