Skip to main content

SIP - A Python Bindings Generator for C and C++ Libraries

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 collection of tools that makes it very easy to create Python bindings for C and C++ libraries. It was originally developed in 1998 to create PyQt, the Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library. For example it is also used to generate wxPython, the Python bindings for wxWidgets.

SIP comprises a set of build tools and a sip module. The build tools process a set of specification files and generates C or C++ code which is then compiled to create the bindings extension module. Several extension modules may be installed in the same Python package. Extension modules can be built so that they are are independent of the version of Python being used. In other words a wheel created from them can be installed with any version of Python starting with v3.5.

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 a copy of the corresponding header file.

The sip module provides support functions to the automatically generated code. The sip module is installed as part of the same Python package as the generated extension modules. Unlike the extension modules the sip module is specific to a particular version of Python (e.g. v3.5, v3.6, v3.7, v3.8).

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 can be installed from PyPI:

pip install sip

Documentation

The documentation for the latest release can be found here.

Metadata

Release files for sip 5.0.0

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

Source distribution (sdist)

Source distribution for sip 5.0.0
File Size Uploaded
sip-5.0.0.tar.gz 981.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for sip 5.0.0
File
sip-5.0.0-cp38-cp38-win_amd64.whl CPython 3.8 CPython 3.8 Windows x86-64 Details
sip-5.0.0-cp38-cp38-win32.whl CPython 3.8 CPython 3.8 Windows x86-32 Details
sip-5.0.0-cp38-cp38-manylinux1_x86_64.whl CPython 3.8 CPython 3.8 Linux glibc 2.5+ x86-64 Details
sip-5.0.0-cp38-cp38-macosx_10_9_x86_64.whl CPython 3.8 CPython 3.8 macOS 10.9+ x86-64 Details
sip-5.0.0-cp37-cp37m-win_amd64.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-64 Details
sip-5.0.0-cp37-cp37m-win32.whl CPython 3.7 CPython 3.7 pymalloc Windows x86-32 Details
sip-5.0.0-cp37-cp37m-manylinux1_x86_64.whl CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64 Details
sip-5.0.0-cp37-cp37m-macosx_10_9_x86_64.whl CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64 Details
sip-5.0.0-cp36-cp36m-win_amd64.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-64 Details
sip-5.0.0-cp36-cp36m-win32.whl CPython 3.6 CPython 3.6 pymalloc Windows x86-32 Details
sip-5.0.0-cp36-cp36m-manylinux1_x86_64.whl CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64 Details
sip-5.0.0-cp36-cp36m-macosx_10_6_intel.whl CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386) Details
sip-5.0.0-cp35-cp35m-win_amd64.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-64 Details
sip-5.0.0-cp35-cp35m-win32.whl CPython 3.5 CPython 3.5 pymalloc Windows x86-32 Details
sip-5.0.0-cp35-cp35m-manylinux1_x86_64.whl CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64 Details
sip-5.0.0-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: 8.7 MB

Release files / sip-5.0.0.tar.gz

Download URL sip-5.0.0.tar.gz
Size 981.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c034d427f52584d63277dd7df4d16d00c5df0b5cb838e0c256865b854b7e074b
BLAKE2b-256 checksum
How to use checksums
c67fb0830b133e6fac3902ecea99acc99e41972d9b565cda5d68ae33ae37909c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp38-cp38-win_amd64.whl

Download URL sip-5.0.0-cp38-cp38-win_amd64.whl
Size 381.4 kB
Tags CPython 3.8 Windows x86-64
SHA-256 checksum
How to use checksums
fb0a6e7f1cf0d654b004285cfad3edba18badde5ed7fc3bbca335928ab172778
BLAKE2b-256 checksum
How to use checksums
13689f7d5fdb62e09f24110ad364faff2cf49b79e1d15fb4c34d7dfe77fa9ba8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp38-cp38-win32.whl

Download URL sip-5.0.0-cp38-cp38-win32.whl
Size 355.6 kB
Tags CPython 3.8 Windows x86-32
SHA-256 checksum
How to use checksums
df5beb035f3e2e89df7937bce108dddc1af3c58bd003d04b79147172a9c8b464
BLAKE2b-256 checksum
How to use checksums
67d450fb9710334ef9a92074a0e8e1f9e5d4db46a043016eb7239d273c5693c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp38-cp38-manylinux1_x86_64.whl

Download URL sip-5.0.0-cp38-cp38-manylinux1_x86_64.whl
Size 727.0 kB
Tags CPython 3.8 Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
6de1ee204be20d2f97e0a5b41ca2805f3f2e51358d5d408e383d60a1fa6a21d0
BLAKE2b-256 checksum
How to use checksums
d1750790c01bc826ae132459b91217f32e867f4c08b8c7eef236389ac0fa4051
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp38-cp38-macosx_10_9_x86_64.whl

Download URL sip-5.0.0-cp38-cp38-macosx_10_9_x86_64.whl
Size 379.5 kB
Tags CPython 3.8 macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
4b04caacf5f3e31bd72a5f58582c470290a7a7c06d591292a295ed88dedf4a31
BLAKE2b-256 checksum
How to use checksums
408ea4bb5e0a775e50e6e0046bfd3e780b71209e4b4f0247de99dd00075b0f92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp37-cp37m-win_amd64.whl

Download URL sip-5.0.0-cp37-cp37m-win_amd64.whl
Size 381.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
2f359402996b1d2a959a02c5f2b9ba78e2d634d7f9f36404412d724ad218ae5a
BLAKE2b-256 checksum
How to use checksums
34f0165a837aebeb2ddaf3fb7ed4ceae55bfce89c9697e224ebe962d5bf90fd0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp37-cp37m-win32.whl

Download URL sip-5.0.0-cp37-cp37m-win32.whl
Size 355.6 kB
Tags CPython 3.7 CPython 3.7 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
6b4edcabc8fee6dcdfdc7343e15c4528fb88a092240d599b4b7ef0fec28889e6
BLAKE2b-256 checksum
How to use checksums
cba187a058759c9c1fe102d552918e212f107d1e49fe38799c9b07184288bcda
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp37-cp37m-manylinux1_x86_64.whl

Download URL sip-5.0.0-cp37-cp37m-manylinux1_x86_64.whl
Size 726.2 kB
Tags CPython 3.7 CPython 3.7 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
387b4388efab7ee0bd7e9009ad736ad6f2002bb8d3b996c761bf89c2660509c2
BLAKE2b-256 checksum
How to use checksums
cc1dd7d68e7677f1a02e3d0615f1e22d7340cd453d53edca481b8b099e97175a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp37-cp37m-macosx_10_9_x86_64.whl

Download URL sip-5.0.0-cp37-cp37m-macosx_10_9_x86_64.whl
Size 379.3 kB
Tags CPython 3.7 CPython 3.7 pymalloc macOS 10.9+ x86-64
SHA-256 checksum
How to use checksums
43a505771a4bbe7332aa89a879dacefcced7c3eb8e9a38d457082965e5717805
BLAKE2b-256 checksum
How to use checksums
9cb568c21528c14088f46446571410faf37539d021b2892ab5eb0f6453702ad3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp36-cp36m-win_amd64.whl

Download URL sip-5.0.0-cp36-cp36m-win_amd64.whl
Size 385.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
600d4cdb041632db92edf4e020431f01335066169a9c4723083a66f859f4ea5b
BLAKE2b-256 checksum
How to use checksums
f3767eac1ad95f5bc6003df4d6dabd604868d0a25fc2dc4d8c6dba7fc72b68e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp36-cp36m-win32.whl

Download URL sip-5.0.0-cp36-cp36m-win32.whl
Size 351.0 kB
Tags CPython 3.6 CPython 3.6 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
248a5c46d4c9dbbb2bf0b0b5b146f7440afdc7775ff21e2c90ece1353cc01f0c
BLAKE2b-256 checksum
How to use checksums
bce265de126d84aa79dedfecd68cc1df93fee44f4b8758554dff283157f2e5c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

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

Download URL sip-5.0.0-cp36-cp36m-manylinux1_x86_64.whl
Size 726.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
40ced3110025669a9d2a9c026da9a30024315215fe1509b12474f8841163dc5f
BLAKE2b-256 checksum
How to use checksums
d42fb98d2cceea1b7ede8ad3e617740467e3bf409539ff6ccaa8b48f977d2f25
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

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

Download URL sip-5.0.0-cp36-cp36m-macosx_10_6_intel.whl
Size 559.2 kB
Tags CPython 3.6 CPython 3.6 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
0d623c4d14f77f61bd46a65fa7b0b20fe244d28dc4d6bcab7da26363775b1537
BLAKE2b-256 checksum
How to use checksums
bec1f40030df60dc978774e478283cd0a0ebbb8b7a873a6c5dbc7ac2b006407e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp35-cp35m-win_amd64.whl

Download URL sip-5.0.0-cp35-cp35m-win_amd64.whl
Size 385.2 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-64
SHA-256 checksum
How to use checksums
c936a91162f85a53cc9e3d3857ff2bed1db029a7dbbdd1f77486e15664dc1a13
BLAKE2b-256 checksum
How to use checksums
d5a8f667c2d0cdc46fbf4f5505b989b4af70cad1f06c357fb085c9395d8017d8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

Release files / sip-5.0.0-cp35-cp35m-win32.whl

Download URL sip-5.0.0-cp35-cp35m-win32.whl
Size 351.0 kB
Tags CPython 3.5 CPython 3.5 pymalloc Windows x86-32
SHA-256 checksum
How to use checksums
9b57936e1b08d7d5759a298bbd51438ad6fac615569a6d81035e352e3c4ce990
BLAKE2b-256 checksum
How to use checksums
2eb9023fe8a0f52513691f55d5dcc24f029cd695bdb7242a5d39fb1c47e806e6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

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

Download URL sip-5.0.0-cp35-cp35m-manylinux1_x86_64.whl
Size 726.2 kB
Tags CPython 3.5 CPython 3.5 pymalloc Linux glibc 2.5+ x86-64
SHA-256 checksum
How to use checksums
75c4ffbef3a09a0f62ae612b333a512f0ad2b9109c5c489c2207813c77b64028
BLAKE2b-256 checksum
How to use checksums
7b57d8f236c9a62af584feae654817c4197bc4812e8ffc28946309a1aa18b6eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

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

Download URL sip-5.0.0-cp35-cp35m-macosx_10_6_intel.whl
Size 559.2 kB
Tags CPython 3.5 CPython 3.5 pymalloc macOS 10.6+ Intel (x86-64, i386)
SHA-256 checksum
How to use checksums
759334a6ecb8a06d66b9d129ee18b571d4e3b261375917d75d856063b44ef6f2
BLAKE2b-256 checksum
How to use checksums
95ffe318587555a9501755af396e490613d7bc67a88456fbd2401e72356a648d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.6.8

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

This release

5.0.0 This release

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

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