Skip to main content

Python wrapper generator for ctypes

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ctypesgen, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size ctypesgen-1.0.2-py2.py3-none-any.whl (476.7 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page