Skip to main content
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).

Release files for ctypesgen 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distribution (wheel)

Table of built distributions (wheels) for ctypesgen 1.0.1
File Interpreter ABI Platform
ctypesgen-1.0.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Release files / ctypesgen-1.0.1-py2.py3-none-any.whl

Download URL ctypesgen-1.0.1-py2.py3-none-any.whl
Size 441.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
5d1f642b1cf214e2ec1fe10c99d70d5329d7f60fd3ddb0c66afd4e07a055ff10
BLAKE2b-256 checksum
How to use checksums
8a474b92f7dc1c93fc6b417bcaa5f21d24695ad41449f4780818a5e5b4b33c6e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.4

Release history Release notifications | RSS feed

1.1.1

2 release files

1.1.0

2 release files

1.0.2

1 release file

This release

1.0.1 This release

1 release file

0.r125

1 release file

0.r120

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page