Skip to main content

Python wrapper generator for ctypes

Project description

ctypesgen reads parses c header files and creates a wrapper for libraries base 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.0.post4-py2.py3-none-any.whl (428.0 kB view details)

Uploaded Python 2Python 3

File details

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

File metadata

  • Download URL: ctypesgen-1.0.0.post4-py2.py3-none-any.whl
  • Upload date:
  • Size: 428.0 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for ctypesgen-1.0.0.post4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 20f14e204d71250fce599f5d03a566d00d87d859e56772cb10121ba0504c7c5d
MD5 be9a5716f07d1c719d7508672270622b
BLAKE2b-256 77e873c5636dd329bcb781e3fc8762342ce4c543c279ceab9eeb06f3f2a4b241

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