Skip to main content

What is SIP?

One of the features of Python that makes it so powerful is the ability to take existing libraries, written in C or C++, and make them available as Python extension modules. Such extension modules are often called bindings for the library.

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 contain 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++.

Author

SIP is copyright (c) Riverbank Computing Limited. Its homepage is https://www.riverbankcomputing.com/software/sip/.

Support may be obtained from the PyQt mailing list at https://www.riverbankcomputing.com/mailman/listinfo/pyqt/.

License

SIP is released under the GPL v2, GPL v3 licenses, and under a license similar to the BSD license.

Installation

SIP source packages, and Linux 64-bit wheels, can be dowloaded from https://www.riverbankcomputing.com/software/sip/download/.

Wheels for 32 and 64-bit Windows and 64-bit OS X modules can be installed from PyPI:

pip3 install sip

All wheels include the sip extension module but do not include the code generator.

Documentation

The documentation for the latest release can be found here.

Metadata

Release files for sip 4.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for sip 4.18
File
sip-4.18-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details
sip-4.18-cp35-none-win32.whl CPython 3.5 none Windows x86-32 Details
sip-4.18-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
sip-4.18-cp35-cp35m-macosx_10_6_intel.whl CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386) Details

Total release size: 193.2 kB

Release files / sip-4.18-cp35-none-win_amd64.whl

Download URL sip-4.18-cp35-none-win_amd64.whl
Size 46.9 kB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
483020055fafef260fdf475d2f61148e8572c5cc09f62c04550bbed4fb0a0c1b
BLAKE2b-256 checksum
How to use checksums
7bd07c9a7b69d1504c27e65b1efb053966f3b232e9071bb99ecc447232319f98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sip-4.18-cp35-none-win32.whl

Download URL sip-4.18-cp35-none-win32.whl
Size 39.1 kB
Tags CPython 3.5 Windows x86-32
SHA-256 checksum
How to use checksums
e6f523c0262a9f13ed48153f47c24e24bc8609fa86c9e808e59ad2f55c65cb3c
BLAKE2b-256 checksum
How to use checksums
4246fc1c06fac246ffabc80f7f5de4a73be027112628c31594bee314954bd414
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sip-4.18-cp35-cp35m-manylinux1_x86_64.whl

Download URL sip-4.18-cp35-cp35m-manylinux1_x86_64.whl
Size 61.0 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
a1c7c6b037e455ceb8af2b585277c69d218fb4e69f97c913feecfb1ec9f01919
BLAKE2b-256 checksum
How to use checksums
56a5974eb9e9224eb21437f59733ca8e695cbb6507a510cd283cb664cf1ab9d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sip-4.18-cp35-cp35m-macosx_10_6_intel.whl

Download URL sip-4.18-cp35-cp35m-macosx_10_6_intel.whl
Size 46.2 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
7c2f989215cfa01e84e8d496f290d39ca9cabc0694a2558cbedb0db7f37355c4
BLAKE2b-256 checksum
How to use checksums
d4b93f506d00561be860919688aa917fcf8d18ba39a7c8ad85deddfb4a346c51
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

6.16.1

2 release files

6.15.3

2 release files

6.15.1

2 release files

6.14.0

2 release files

6.13.1

2 release files

6.11.1

2 release files

6.11.0

2 release files

6.9.1

2 release files

6.9.0

2 release files

6.8.6

2 release files

6.8.5

2 release files

6.8.4

2 release files

6.8.3

2 release files

6.8.2

2 release files

6.8.1

2 release files

6.8.0

2 release files

6.7.12

5 release files

6.7.10

4 release files

6.7.9

5 release files

6.7.8

5 release files

6.7.7

5 release files

6.7.6

5 release files

6.7.5

4 release files

6.7.4

4 release files

6.7.3

4 release files

6.7.2

4 release files

6.7.1

4 release files

6.7.0

4 release files

6.6.2

4 release files

6.6.1

5 release files

6.6.0

5 release files

6.5.1

5 release files

6.5.0

4 release files

6.4.0

4 release files

6.3.1

5 release files

6.3.0

5 release files

6.1.1

13 release files

6.1.0

13 release files

6.0.3

17 release files

6.0.2

17 release files

5.5.0

21 release files

5.4.0

21 release files

5.3.0

17 release files

5.2.0

17 release files

5.1.1

17 release files

5.0.1

17 release files

4.19.6

8 release files

4.19.2

8 release files

4.19.1

8 release files

4.19

8 release files

4.18.1

4 release files

This release

4.18 This release

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page