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.0.1.tar.gz (980.5 kB view details)

Uploaded Source

Built Distributions

sip-5.0.1-cp38-cp38-win_amd64.whl (381.6 kB view details)

Uploaded CPython 3.8 Windows x86-64

sip-5.0.1-cp38-cp38-win32.whl (355.8 kB view details)

Uploaded CPython 3.8 Windows x86

sip-5.0.1-cp38-cp38-manylinux1_x86_64.whl (721.6 kB view details)

Uploaded CPython 3.8

sip-5.0.1-cp38-cp38-macosx_10_9_x86_64.whl (381.9 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

sip-5.0.1-cp37-cp37m-win_amd64.whl (381.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

sip-5.0.1-cp37-cp37m-win32.whl (355.7 kB view details)

Uploaded CPython 3.7m Windows x86

sip-5.0.1-cp37-cp37m-manylinux1_x86_64.whl (720.7 kB view details)

Uploaded CPython 3.7m

sip-5.0.1-cp37-cp37m-macosx_10_9_x86_64.whl (381.8 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

sip-5.0.1-cp36-cp36m-win_amd64.whl (385.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

sip-5.0.1-cp36-cp36m-win32.whl (351.2 kB view details)

Uploaded CPython 3.6m Windows x86

sip-5.0.1-cp36-cp36m-manylinux1_x86_64.whl (720.7 kB view details)

Uploaded CPython 3.6m

sip-5.0.1-cp36-cp36m-macosx_10_6_intel.whl (565.0 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

sip-5.0.1-cp35-cp35m-win_amd64.whl (385.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

sip-5.0.1-cp35-cp35m-win32.whl (351.2 kB view details)

Uploaded CPython 3.5m Windows x86

sip-5.0.1-cp35-cp35m-manylinux1_x86_64.whl (720.7 kB view details)

Uploaded CPython 3.5m

sip-5.0.1-cp35-cp35m-macosx_10_6_intel.whl (565.0 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: sip-5.0.1.tar.gz
  • Upload date:
  • Size: 980.5 kB
  • 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.0.1.tar.gz
Algorithm Hash digest
SHA256 299f5463946acf079f35979bf6f598f790a58611ada2514c0d9b04c91b9baee8
MD5 1e6b262599758df3447fd32a35e0c0d3
BLAKE2b-256 da0465ff7595908c8e911057e4e9b3307bd7d54c7fd5698eb0ccc491df44003e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 381.6 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.0.1-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 e52b3ee546772c5b7776ffc87e05837406e7ee29e6edba81d6bcccb327dd9c6b
MD5 48b43af5ec29135b28de30dfedc8ff45
BLAKE2b-256 5a1b8946ecaeed2728a063bab71902666eea463f5e140beba680bdac9936e0e3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp38-cp38-win32.whl
  • Upload date:
  • Size: 355.8 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.0.1-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 52acfdfb9710a1c908ecdbbdb0c5af8e4d0a8297c53dba451c5af69311637971
MD5 10f6aade8111c80844532bccd10730e7
BLAKE2b-256 9f5ff2e2fe47c9027ef6abed45dac3f98da259325fe6e4a9badea58ce7412e90

See more details on using hashes here.

File details

Details for the file sip-5.0.1-cp38-cp38-manylinux1_x86_64.whl.

File metadata

  • Download URL: sip-5.0.1-cp38-cp38-manylinux1_x86_64.whl
  • Upload date:
  • Size: 721.6 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.0.1-cp38-cp38-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 b5d9b4cd035d69091b2793864b61d112ae8f882b8c356b7bc8bf62a42947a051
MD5 9058705851a1fdced4f6cabc746d1eb2
BLAKE2b-256 5d5ad4200f1ebaf23a939afe639287889b148c6a2ef98e68535bec83dbfc3ee1

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 381.9 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.0.1-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 b2b5e94272371e5c1ad337fe284dd60de5e68375b10282230bd0e710b7976f9d
MD5 3728adddadbac454a62aa043e9cf5aac
BLAKE2b-256 97beb8a30dde45bac6909a496f79a1f322dec508e3150912a07b59b68d5d2b2c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 381.5 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.0.1-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 70500797ee6412d239ef71f6d8a035491d5ad4b37239d844288d19f91a07fa6a
MD5 34fb3ffe36c60fba2b602cab47d6c1d3
BLAKE2b-256 e79f68ea430d9614e6128d7c35d397dd9deda3ef24f62602a467174c604748a5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 355.7 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.0.1-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 37e8ec7e5a538e83bc2b0014ee096c258d5935a6787b7ccb6f6b6cfd58b65de8
MD5 1f7b70e2a3e6dbe8510fa2bfeebb9999
BLAKE2b-256 6a16d56562838a177eea8d04d7f2382e96ccb7269aa399c1ec34b0a043f10775

See more details on using hashes here.

File details

Details for the file sip-5.0.1-cp37-cp37m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sip-5.0.1-cp37-cp37m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 720.7 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.0.1-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 bb71a82162ac546ff2537e29d6bd8c7c153d5d4a89b14f79afe02bb43524b7bf
MD5 2ed65cd3e2e2c6ce15b8446c0264fa4a
BLAKE2b-256 58c31f3aa94f95cc82bf7775c2f08ed806f100452abe208beb316d960fece9d0

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 381.8 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.0.1-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 1d873e35607a68682ce2e901f99571c3a41848817e485afa636b42a3eaf53c24
MD5 dfbe264482af5f45ea037ce92e0bfe7d
BLAKE2b-256 911e48c6f2e7294a2b2a9ded3ddaa9d34c5e5b36a1123bf5228a0e75e2edbd08

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 385.4 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.0.1-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 e5137fe40767e660de38d8fca238a88fc8bb2fb3099952f9631b9fbd40898fe8
MD5 152b8205f03962a8eb6aa905150b70cb
BLAKE2b-256 177db423dba1841dcfdd3b97e7d1a0c6f1154b9c735a51798cda702436ee742c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 351.2 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.0.1-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 3db275d1056f699262d85d332a6c6f327aeedc9478a1cff592979ad064c2ca27
MD5 21e4a0edac8620d10bdaa5f77d552f0f
BLAKE2b-256 e6a6491ce5497b5493096a900ad851ec901155425c9510ce8da0db48fa86d551

See more details on using hashes here.

File details

Details for the file sip-5.0.1-cp36-cp36m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sip-5.0.1-cp36-cp36m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 720.7 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.0.1-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 73e2921ce56e8df42e1f62090ae2e3721efc3255e7dfd55e1e950482e55a5379
MD5 515d365d5a973f039658d169c008e020
BLAKE2b-256 92ce8e692f18475efc95238aa11e7167ec298ad97185ecc7276c94dd736003fd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 565.0 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.0.1-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 559efa6df3b2fcbbfa4c14e739658ba71fb6bdf88bf0a16ab28a38f414f0e005
MD5 a358bc32d6fe954d703436a1b57e2f32
BLAKE2b-256 f0c4e8c83846555db99748816f1e83d187db95e83364570e2ddd1831b05634c4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 385.4 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.0.1-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 644be06acf7bd71053018eaf32800a6d3a59665f41d0bba6c34211ba99306a54
MD5 96d8ddd10d18be838a67505fd06bb1bb
BLAKE2b-256 2c86dc8beb3d568b3f884d4a5e1965aa16d3d2e1d7160e5037a76f44f7b81ffc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 351.2 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.0.1-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 34f3a815ab3e54d4267c84fe04e30aa1a57af1bc5e95a6f148fc9ef3b44272e5
MD5 85fc41bf6c59d2b09e7d7652b593eeb8
BLAKE2b-256 214e50ad3ffc1da11bfff692800f8a6aebbffc94bb5a783ea5c0880b65d02c8a

See more details on using hashes here.

File details

Details for the file sip-5.0.1-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

  • Download URL: sip-5.0.1-cp35-cp35m-manylinux1_x86_64.whl
  • Upload date:
  • Size: 720.7 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.0.1-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 929ef97465f9a9503a9b5adb3082099ea38b4a8562e9443c65cf320b3fd51efb
MD5 33d233a0a4a643d09daa6c16a95e0732
BLAKE2b-256 5f354f4939d91ee88f1da882e514ae1b888fec5f15ac8caaeedffe5558722a41

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.0.1-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 565.0 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.0.1-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 4217a04871925b99283ace2611a711019ce9a198c03b3774c1d61aa38c0f366e
MD5 534b2d4e610465ac0e254d30eb3f8adc
BLAKE2b-256 acb244d4eb4d3851df1dc8bba78fc8f4b2cdb1ce278998f3d2951ae02dc9fdd0

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