SIP (software)


SIP is an open source software tool used to connect computer programs or libraries written in C or C++ with the scripting language Python. It is an alternative to SWIG.
SIP was originally developed in 1998 for PyQt — the Python bindings for the Qt GUI toolkit — but is suitable for generating bindings for any C or C++ library.

Concept

SIP takes a set of specification files describing the API and generates the required C++ code. This is then compiled to produce the Python extension modules. A.sip file is basically the class header file with some things removed and some things added.

Notable applications that use SIP