SIP4.7.4

  • Submit New Release
  • Edit SIP Information
  • Submit a New Software

Create Python bindings for C and C++ libraries.

Wednesday, February 13, 2008
  • Development
  • Languages
  • Python

SIP is a tool that makes it very easy to create Python bindings for C and C++ libraries. It was originally developed to create PyQt, the Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library.

SIP comprises a code generator and a Python module. The code generator processes a set of specification files and generates C or C++ code which is then compiled to create the bindings extension module. The SIP Python module provides support functions to the automatically generated code.

The specification files contains a description of the interface of the C or C++ library, i.e. the classes, methods, functions and variables. The format of a specification file is almost identical to a C or C++ header file, so much so that the easiest way of creating a specification file is to edit the corresponding header file.

SIP makes it easy to exploit existing C or C++ libraries in a productive interpretive programming environment. SIP also makes it easy to take a Python application (maybe a prototype) and selectively implement parts of the application (maybe for performance reasons) in C or C++.

  • Downloads
    1839
  • License
    GPL

Downloads / Release History


February
13
2008
SIP 4.7.4

Comments

No comment. Be the first to enter a comment.
Replying to:
Cancel

Last articles