Skip to main content

A Python bindings generator for C/C++ libraries

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sip-5.3.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distributions

sip-5.3.0-cp38-cp38-win_amd64.whl (509.2 kB view details)

Uploaded CPython 3.8 Windows x86-64

sip-5.3.0-cp38-cp38-win32.whl (482.0 kB view details)

Uploaded CPython 3.8 Windows x86

sip-5.3.0-cp38-cp38-manylinux2014_x86_64.whl (928.0 kB view details)

Uploaded CPython 3.8

sip-5.3.0-cp38-cp38-macosx_10_9_x86_64.whl (502.8 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

sip-5.3.0-cp37-cp37m-win_amd64.whl (509.1 kB view details)

Uploaded CPython 3.7m Windows x86-64

sip-5.3.0-cp37-cp37m-win32.whl (481.9 kB view details)

Uploaded CPython 3.7m Windows x86

sip-5.3.0-cp37-cp37m-manylinux2014_x86_64.whl (928.9 kB view details)

Uploaded CPython 3.7m

sip-5.3.0-cp37-cp37m-macosx_10_9_x86_64.whl (502.7 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

sip-5.3.0-cp36-cp36m-win_amd64.whl (509.1 kB view details)

Uploaded CPython 3.6m Windows x86-64

sip-5.3.0-cp36-cp36m-win32.whl (481.9 kB view details)

Uploaded CPython 3.6m Windows x86

sip-5.3.0-cp36-cp36m-manylinux2014_x86_64.whl (927.9 kB view details)

Uploaded CPython 3.6m

sip-5.3.0-cp36-cp36m-macosx_10_6_intel.whl (686.2 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

sip-5.3.0-cp35-cp35m-win_amd64.whl (509.1 kB view details)

Uploaded CPython 3.5m Windows x86-64

sip-5.3.0-cp35-cp35m-win32.whl (481.9 kB view details)

Uploaded CPython 3.5m Windows x86

sip-5.3.0-cp35-cp35m-manylinux2014_x86_64.whl (927.6 kB view details)

Uploaded CPython 3.5m

sip-5.3.0-cp35-cp35m-macosx_10_6_intel.whl (686.2 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

Details for the file sip-5.3.0.tar.gz.

File metadata

  • Download URL: sip-5.3.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0.tar.gz
Algorithm Hash digest
SHA256 03a44e20b252ef03ca2891e9439d238af3fd8245f65cdcff238a843d4f455b80
MD5 92c39f13824f610656635c2e8ce45fee
BLAKE2b-256 b05fffaa04f8b2f0b5e05dcebc882c1a151895d5ec54f2c9caa95ee003af93ba

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: sip-5.3.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 509.2 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 0c0a1631f10c97fe0ebac21a012f15800cff673c4389c1f5995f5fdf92e7a4ff
MD5 6bacf6dd12d0bde819365bd0ec34155a
BLAKE2b-256 f41e90f4027baeabb421b6d732c6c4fd76a953c95e88a05bd6ec6a1bf137434b

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp38-cp38-win32.whl.

File metadata

  • Download URL: sip-5.3.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 482.0 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 9b62bac05b672374b0ec3877f5402442f2bf829dc6e3d6fad101b29e05e048cf
MD5 680b2eb6a2bf6d98ffa85441b509f1f1
BLAKE2b-256 5fc05fa23779bd3d50c404115dac77160e4eb7977b3bc76f1d3c56811d6017b4

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp38-cp38-manylinux2014_x86_64.whl.

File metadata

  • Download URL: sip-5.3.0-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 928.0 kB
  • Tags: CPython 3.8
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e1aaa4c1f221c6297e14912a6c309f6b1403ae84af2fdcfba3f05e6d76f363d5
MD5 45ebb287c431f9a5223190006381300b
BLAKE2b-256 41ee90ba4d806572e03d1adeb2c11386a4446b4adda5048714ba11c63145ebf1

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp38-cp38-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: sip-5.3.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 502.8 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 2e0124359a067acbd4ef96df12371e4dfa201cc73cefb291130a93af7d3315de
MD5 913a106538ac326b5efc6b1b53a2f115
BLAKE2b-256 e43d2f7604f541f4d843d7de5f89742b527bd5fd646130fabd76e45ebe1c1308

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp37-cp37m-win_amd64.whl.

File metadata

  • Download URL: sip-5.3.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 509.1 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 31dab7622e9706afceef3c0c986fcd10e97c747c4a28ff7f763e451ac243a07d
MD5 3020b8e368bc006cf177dac09b32581e
BLAKE2b-256 03daadc74a408bd1e69454b8c2adcf48c47bfa746d0ade0b52bb9bfd98ee3199

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp37-cp37m-win32.whl.

File metadata

  • Download URL: sip-5.3.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 481.9 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 2054c8b4f949d92df9c737d381a93ed37bf69c9bba3d4c08ac7a4002998bbf42
MD5 4363be08627165269f7d010037819864
BLAKE2b-256 787fe9f114cb31bf49dfca037bbd33282d32317685c812243eac04931c455c6a

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp37-cp37m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: sip-5.3.0-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 928.9 kB
  • Tags: CPython 3.7m
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 b91b0298df90b92eeba1ae1df487dc8fbdb8030e16466a7724f767cd2b5a4ce5
MD5 8e6b1a46e8ab5852cf5fe36cf47079ff
BLAKE2b-256 2db798a5e5badc2157369e7a8fbfe73b89eef9a91afd1cecb9b48a1bff17f8b6

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp37-cp37m-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: sip-5.3.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 502.7 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 59327522605e7b6b45cf8075c53022ad509f60467e2b34ea56b68c0fbb88101e
MD5 2753f90df98b25454200980c7b077e6a
BLAKE2b-256 8d7144cf742900b1c575cbf70f916a88e2acf3e6685f8b6666273c37442094f2

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp36-cp36m-win_amd64.whl.

File metadata

  • Download URL: sip-5.3.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 509.1 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 24a9881dd7510d07674652c382b5c87253f04da742d71a7d6e56283f6ef663f0
MD5 a7549bf7d3c039c596a684b605886dcb
BLAKE2b-256 8125127a635395a32b046f7ab868ec45cc85c82d0226c3d5bea152c122cf7980

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp36-cp36m-win32.whl.

File metadata

  • Download URL: sip-5.3.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 481.9 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 44767362788942c887dfa4ec0280048b792ee39186105938884772d4f6c55670
MD5 2396d17d10b3b4318097640c6c3452fd
BLAKE2b-256 06797b6c9ec770948a07fc87834272f2487794ea95c8e6ff19fa03e5145580e4

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp36-cp36m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: sip-5.3.0-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 927.9 kB
  • Tags: CPython 3.6m
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 880ef6a4a9aa0faee80c24942c7807af26bfa679f54a5d9d632c0246508d05e2
MD5 737a1ef33b962c34171c76de7f33d9d2
BLAKE2b-256 7667c39a80aeda9a53e3b067dc6dfba4991ee93e1422ff8390561bcc8a83cfc6

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp36-cp36m-macosx_10_6_intel.whl.

File metadata

  • Download URL: sip-5.3.0-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 686.2 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 f03590c9941b030b70b81356a634705c829a4e63b9d5f2e1e573ceb8ba42280f
MD5 51448b33f4c8d75857ca9be3f1e45513
BLAKE2b-256 2ccf8431cbcc6ae55ad09338ff44681c83ed158e98a67d9f5790562ab84080f6

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp35-cp35m-win_amd64.whl.

File metadata

  • Download URL: sip-5.3.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 509.1 kB
  • Tags: CPython 3.5m, Windows x86-64
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 89d891bd2a6e76525302287a7539795a54247202f7eec7ffe9de941b323ab8b3
MD5 8c381e07ded65175307c73a5f10f8842
BLAKE2b-256 8aa3f5d47b33bf3dafacbcca4d32e863b6e4948275f4f8adf5d98eda1fe63e7d

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp35-cp35m-win32.whl.

File metadata

  • Download URL: sip-5.3.0-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 481.9 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 30deca3331c537787224dea22e1419b5df3afe5189764841cb038f86cff8e5f1
MD5 a18a1ee2ad47ad487cd4ed295ee1bed2
BLAKE2b-256 564fbb28c1aa994d1f0d74666a53276523efe7d5772f2cfcf5ba89ae7bc848e7

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp35-cp35m-manylinux2014_x86_64.whl.

File metadata

  • Download URL: sip-5.3.0-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 927.6 kB
  • Tags: CPython 3.5m
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 d0c0d750ceea498fd31c69b65352ec16fcf07ac033433f9915aa64094d546995
MD5 a82de5070abd7c363a8c7695ab8ee0f1
BLAKE2b-256 614f41e3ddf14cc93af555d91c9872d26014fde733db8114ec744658b92a4ab4

See more details on using hashes here.

File details

Details for the file sip-5.3.0-cp35-cp35m-macosx_10_6_intel.whl.

File metadata

  • Download URL: sip-5.3.0-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 686.2 kB
  • Tags: CPython 3.5m, macOS 10.6+ intel
  • Uploaded using 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.9

File hashes

Hashes for sip-5.3.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 8502d746e925019a6e7f737954ab64861dff5b940a4f568c068c5b016153508c
MD5 611ac73ad4714accc230689466594acb
BLAKE2b-256 59ee7a6c1b922ab02110d4cc5eb2c20ac4bc5dea21f5ab81ae9d71d4a36fb793

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page