Python-SIP is a free and open source software project specially designed for developers who are looking for an easy-to-use tool to create Python bindings (also known as extension modules) for the Qt toolkit. It can also be used for building C or C++ library bindings for the Python programming language.
Distributed as part of the PyQt project
Python-SIP is part of the PyQt product series, and it comprises a Python module and a code generator, which processes a set of specification files and generates C++ and C code that is later transformed into the bindings extension module.
The Python-SIP project also provides support functions to the automatically generated code, and offers an easy way for exploiting existing C or C++ libraries in a productive interpretive programming environment.
Getting started with Python-SIP
To install the Python-SIP software on your GNU/Linux system, you will have to first download the latest version from Softpedia, extract the archive on a location of your choice, open a terminal emulator and navigate to the location of the extracted folder.
Execute the “python configure.py” command (without quotes) to configure the software, and run the “make” command (without quotes) to compile it. Lastly, run the “make install” command (without quotes) as root to install it system wide.
Under the hood, supported OSes and availability
Python-SIP is written entirely in the Python programming language, which means that it is compatible with all Linux kernel-based operating systems, as well as Microsoft Windows OSes. It is available for download as a universal sources archive that supports both 32-bit and 64-bit hardware platforms.