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 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 6.7.12

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 6.7.12
File Size Uploaded Provenance
sip-6.7.12.tar.gz 1.2 MB Without provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for sip 6.7.12
File
sip-6.7.12-cp37-abi3-win_amd64.whl CPython 3.7 abi3 Windows x86-64 Details
sip-6.7.12-cp37-abi3-win32.whl CPython 3.7 abi3 Windows x86-32 Details
sip-6.7.12-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl CPython 3.7 abi3 Linux glibc 2.5+ x86-64 Details
sip-6.7.12-cp37-abi3-macosx_10_9_universal2.whl CPython 3.7 abi3 macOS 10.9+ universal2 (ARM64, x86-64) Details

Total release size: 4.0 MB

Release files / sip-6.7.12.tar.gz

Download URL sip-6.7.12.tar.gz
Size 1.2 MB
Tags Source
SHA-256 checksum
How to use checksums
08e66f742592eb818ac8fda4173e2ed64c9f2d40b70bee11db1c499127d98450
BLAKE2b-256 checksum
How to use checksums
a64ec34eee70109e9a8110672f074fc18b5022bf4b9b4c92641245c73ae0b21a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / sip-6.7.12-cp37-abi3-win_amd64.whl

Download URL sip-6.7.12-cp37-abi3-win_amd64.whl
Size 611.0 kB
Tags CPython 3.7 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
37c08e42ff3b36a07f9fc19661771df3e9cb5a56a70a575ad46e28edc0360221
BLAKE2b-256 checksum
How to use checksums
badd9f97e0d2aaaf7bca8b7a275dddeea5c3b187a2d7144810e21ae3196ecd7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / sip-6.7.12-cp37-abi3-win32.whl

Download URL sip-6.7.12-cp37-abi3-win32.whl
Size 596.8 kB
Tags CPython 3.7 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
b79dc28f99f8565c3f1cbb4d8cf3c3b4ffdca65cf563e87144916224e7b72991
BLAKE2b-256 checksum
How to use checksums
20c0ad11365d5b6948d79ec95ae1ba6fb11a667538164ceb72df80ed4cbb0054
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / sip-6.7.12-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl

Download URL sip-6.7.12-cp37-abi3-manylinux_2_5_x86_64.manylinux1_x86_64.whl
Size 882.5 kB
Tags CPython 3.7 Linux glibc 2.5+ x86-64 abi3
SHA-256 checksum
How to use checksums
3b3b731b7bf5a8eac2dad12bed5e61c892477ced7df27e78ee0ead6dd38c5aa0
BLAKE2b-256 checksum
How to use checksums
22deb4aa6174bef9a916ab67317dae78288fda9a5fd0c07186444b2e8ee0daa9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Release files / sip-6.7.12-cp37-abi3-macosx_10_9_universal2.whl

Download URL sip-6.7.12-cp37-abi3-macosx_10_9_universal2.whl
Size 715.9 kB
Tags CPython 3.7 abi3 macOS 10.9+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
ea1f0c4711199a6ae733c2d3776f3a920cc4ff5c4f0016dc29a70731d07d062b
BLAKE2b-256 checksum
How to use checksums
972052d120e0a1a712de991912d64e176d96d647913960935dedcae38689f299
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

Security for sip 6.7.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

6.7.12 This release

5 release files No provenance

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