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, 64-bit OS X and 64-bit Linux 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.

Release files for sip 4.19

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.19
File
sip-4.19-cp36-none-win_amd64.whl CPython 3.6 none Windows x86-64 Details
sip-4.19-cp36-none-win32.whl CPython 3.6 none Windows x86-32 Details
sip-4.19-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
sip-4.19-cp36-cp36m-macosx_10_6_intel.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
sip-4.19-cp35-none-win_amd64.whl CPython 3.5 none Windows x86-64 Details
sip-4.19-cp35-none-win32.whl CPython 3.5 none Windows x86-32 Details
sip-4.19-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
sip-4.19-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: 402.2 kB

Release files / sip-4.19-cp36-none-win_amd64.whl

Download URL sip-4.19-cp36-none-win_amd64.whl
Size 49.1 kB
Tags CPython 3.6 Windows x86-64
SHA-256 checksum
How to use checksums
91d55e8df8aae1aefc340a46540406ccffa3f1b9b240a3da46d11bdc8a705993
BLAKE2b-256 checksum
How to use checksums
4a3786cda76a49b767f3cf26a7b7fdb45e002d97a3ce4590e4f969b49d4eae92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sip-4.19-cp36-none-win32.whl

Download URL sip-4.19-cp36-none-win32.whl
Size 40.8 kB
Tags CPython 3.6 Windows x86-32
SHA-256 checksum
How to use checksums
2d313341fd7a3b066e7836d88bacd512ecc0450cc1373f670b2579cbb63173a3
BLAKE2b-256 checksum
How to use checksums
8ddbfe1df0c49ec794e4dab232142d835c1b57e2cf9f8ef101c34c840a420335
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sip-4.19-cp36-cp36m-manylinux1_x86_64.whl

Download URL sip-4.19-cp36-cp36m-manylinux1_x86_64.whl
Size 62.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
dc071ec30f8f90646b9ff150114d9ebb6df28f3018d01ff66fbd9f126b32c22f
BLAKE2b-256 checksum
How to use checksums
b009c5cf0f69036909c11c4f6135295f1b3600578cd6fc65737eb66c0c88436d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / sip-4.19-cp36-cp36m-macosx_10_6_intel.whl

Download URL sip-4.19-cp36-cp36m-macosx_10_6_intel.whl
Size 48.6 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
6b5ca1c2e498ee13ba26d2e6efc00cbff4c9bf01db949c1c4046e68c223b24a8
BLAKE2b-256 checksum
How to use checksums
516385c2fec6498e4fa792af2640598d2fc26c048274b8fa3735164bbdd2226f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sip-4.19-cp35-none-win_amd64.whl
Size 49.1 kB
Tags CPython 3.5 Windows x86-64
SHA-256 checksum
How to use checksums
c2c44495e866ed87fb75289dea4589fd30b6b11af5e57512b55ee24eba843fa2
BLAKE2b-256 checksum
How to use checksums
c21e44017184f68c94d4fa3898ca15079868d083a05aac0d33f65cd8fed07dd9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

Download URL sip-4.19-cp35-none-win32.whl
Size 40.8 kB
Tags CPython 3.5 Windows x86-32
SHA-256 checksum
How to use checksums
3718cf5b477318f59e1ff4b6ca105db3f6b0a1cc04d5ffea1bddbe7915418a76
BLAKE2b-256 checksum
How to use checksums
4dbeb49d06739027998d06cf85c5e61cc6f87a6edd2c0ecf7496185f08f2730a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

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

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

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

Download URL sip-4.19-cp35-cp35m-macosx_10_6_intel.whl
Size 48.6 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
dcc4bfa88ae80147f5e2cdaacd7d5adae124ff1ea6eb8745031b1a40c82d5f07
BLAKE2b-256 checksum
How to use checksums
a1668aba2d5e0f8d6c7fc43a68d4d3b2971bb2228342d94e0516cd88ae5f0464
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

This release

4.19 This release

8 release files

4.18.1

4 release files

4.18

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