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.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ctypesgen-1.0.1-py2.py3-none-any.whl (441.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ctypesgen-1.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: ctypesgen-1.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 441.3 kB
  • Tags: Python 2, Python 3
  • Uploaded using 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

File hashes

Hashes for ctypesgen-1.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d1f642b1cf214e2ec1fe10c99d70d5329d7f60fd3ddb0c66afd4e07a055ff10
MD5 3ded4f66e4c6fec81bf8ed9a29301301
BLAKE2b-256 8a474b92f7dc1c93fc6b417bcaa5f21d24695ad41449f4780818a5e5b4b33c6e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page