×

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

Uploaded Mon Mar 31 21:12:37 2025
md5 checksum 364bfbc6dea80a03db18c749cd109dc3
arch x86_64
build py311h06a4308_0
depends python >=3.11,<3.12.0a0
license BSD-2-Clause
license_family BSD
md5 364bfbc6dea80a03db18c749cd109dc3
name ctypesgen
platform linux
sha1 2e8dfe5bc33025708f175bb89805adbe20227d17
sha256 4fa48ce153e5c46d8cf587152ca1a3371fdc45908f36c86b4e387ae33619b67a
size 279810
subdir linux-64
timestamp 1691599334945
version 1.1.1