Registered by lcampagn

Pyclibrary includes 1) a pure-python C parser and 2) a ctypes automation library that uses C header file definitions to simplify the use of ctypes. The C parser currently processes all macros, typedefs, structs, unions, enums, function prototypes, and global variable declarations, and can evaluate typedefs down to their fundamental C types + pointers/arrays/function signatures. Pyclibrary can automatically build ctypes structs/unions and perform type conversions when calling functions via cdll/windll.

Requires pyparsing library for all C parsing, although it is possible to run the library using only precompiled header definition files (in case you can't distribute someone else's header files with your project)

Project information

Maintainer:
lcampagn
Driver:
Not yet selected
Licence:
MIT / X / Expat Licence

RDF metadata

View full history Series and milestones

trunk series is the current focus of development.

All code Code

Version control system:
Bazaar
Programming languages:
python

All blueprints Latest blueprints

Get Involved

Downloads

pyclibrary does not have any download files registered with Launchpad.