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

Uploaded Source

Built Distributions

sip-5.2.0-cp38-cp38-win_amd64.whl (383.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

sip-5.2.0-cp38-cp38-win32.whl (357.7 kB view details)

Uploaded CPython 3.8 Windows x86

sip-5.2.0-cp38-cp38-manylinux2014_x86_64.whl (722.9 kB view details)

Uploaded CPython 3.8

sip-5.2.0-cp38-cp38-macosx_10_9_x86_64.whl (383.7 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

sip-5.2.0-cp37-cp37m-win_amd64.whl (383.4 kB view details)

Uploaded CPython 3.7m Windows x86-64

sip-5.2.0-cp37-cp37m-win32.whl (357.7 kB view details)

Uploaded CPython 3.7m Windows x86

sip-5.2.0-cp37-cp37m-manylinux2014_x86_64.whl (722.7 kB view details)

Uploaded CPython 3.7m

sip-5.2.0-cp37-cp37m-macosx_10_9_x86_64.whl (383.6 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

sip-5.2.0-cp36-cp36m-win_amd64.whl (383.4 kB view details)

Uploaded CPython 3.6m Windows x86-64

sip-5.2.0-cp36-cp36m-win32.whl (357.7 kB view details)

Uploaded CPython 3.6m Windows x86

sip-5.2.0-cp36-cp36m-manylinux2014_x86_64.whl (722.7 kB view details)

Uploaded CPython 3.6m

sip-5.2.0-cp36-cp36m-macosx_10_6_intel.whl (566.5 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

sip-5.2.0-cp35-cp35m-win_amd64.whl (383.4 kB view details)

Uploaded CPython 3.5m Windows x86-64

sip-5.2.0-cp35-cp35m-win32.whl (357.7 kB view details)

Uploaded CPython 3.5m Windows x86

sip-5.2.0-cp35-cp35m-manylinux2014_x86_64.whl (722.8 kB view details)

Uploaded CPython 3.5m

sip-5.2.0-cp35-cp35m-macosx_10_6_intel.whl (566.5 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: sip-5.2.0.tar.gz
  • Upload date:
  • Size: 989.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 3d3f279a61d54d832b12496409811ee062dab1ac05a1e7b40824f63b423fb0e7
MD5 450fc573b2d3bd583badd2fd86afe1a0
BLAKE2b-256 bcddaa60ae73bc213466fd158e3d8b91d55ac00a248b14a98919bfe0e12c5d74

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 383.5 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.2.0-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 85affe000cb855052c17097ce7238a203cb4b260205edc47c5efb836e171c26a
MD5 dd845c9620acf54bda0ff62fe3fa3091
BLAKE2b-256 6f0c2841ccdda8fcac90273ddc7a36eeff68399a04d0b70c32727e39578bde2a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp38-cp38-win32.whl
  • Upload date:
  • Size: 357.7 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.2.0-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 dcb40ccc7eda8774272db4d69c43382db12bd9a63cc50734128ecd70197382cd
MD5 8df44c6c8cbf627ab35b91f0e315f028
BLAKE2b-256 78d7b90eaba9f36d1675d4d95bd9ec83d80b7901cb31aee1751d0768aea2571a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 722.9 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.2.0-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 2bf6f6d19af7d1aafca27fccb978a3a02beb6583603266bcd45e1bf141c8d508
MD5 a44056d34d5183ab8621fd913488e8f7
BLAKE2b-256 d85820256c96b561b92ca8ed90592e2d82ae413788b629e4e59c395646db4559

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 383.7 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.2.0-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 82ce853f453d72ccaaba9e4022285ce35cf6a5b5e1ca59819c5fb482531d93c7
MD5 750b686ce722bd859d4a5db6a7daa62a
BLAKE2b-256 b94508c60a3ae3a608c2ce945b48db027a3af443187505892d9400ab5210878a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 383.4 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.2.0-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 db61927bae3be7ffb78ec54e53c6e1c8403e96b30fde82273d61b30131a74dfd
MD5 f25208ce0c03a34d900c05d38729e9e3
BLAKE2b-256 81a9ded9553ff8651a6626dd5deea03fc065dee7396640487322fc4a502fe8f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 357.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.2.0-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 635432cfcbaf4d1cf0d2bf4c2567b00f8ff0fca6889c5b81a1ba9d6f1ea72a8d
MD5 b8eaad6e4900a1b01af1eb7ab5258c29
BLAKE2b-256 b5fbb0ce89fedc7a9db0ffb5aef6e4337451dddf767c532cb240e88a7b631daa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 722.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.2.0-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 a7643f2830ed460c00b19b334803ad9f2740764ce0bc355b0a5bcc01ef026bed
MD5 e3d781eecd8c16ba9276d1b25a176680
BLAKE2b-256 377d9205d3bd73225434d53af10dd0b39d38265eacde92ee58051926a1dc1a3f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 383.6 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.2.0-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 0da7bd8952f1f95019723b006322977a699ae48fd5a3531063a5e879f871a6ba
MD5 41531d76b90205c6c7536ecf57209341
BLAKE2b-256 5e61b7b863e92382759cee69293606f9a86a5ad43dca170687e75eee6d3b03b7

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 383.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.2.0-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 36c3d7fa57bb4263cd6d2a6e13e510ecc061a8634edc4d3de863877250f54e6d
MD5 64fd721a7170992aa7b1dd36a7481e82
BLAKE2b-256 5f521b29d54844937396125c836f01e18d58f62bb93669c0b60793de2f7ddbd3

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 357.7 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.2.0-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a7217f0363488543f7bfd1cee54ed199d4ecce0bb54fe8d4f4730342f52cda75
MD5 8284d7eb0d2ad4669991e04fe5aa5ede
BLAKE2b-256 afdff1b9a7aca89d8401699ce5911943cb664c62c7dfab782ff2c1a7f3ad8e7a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 722.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.2.0-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4d07456ce460921450725e25726eb6be6c729fe538699919aef812d2fd4c464c
MD5 08cbaa5854ad8e77b8355a9eaf625c4d
BLAKE2b-256 aeb1794b65a6d1a0985db18eaa276db7b2d42e5683790979ac7834e7cbca804b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 566.5 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.2.0-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 a2a233daae901e9406e4b24cbf62e8acc9a4bec81f91bbaae7d73db130f0c848
MD5 279e48ca4aa46f6b6a4944c245bd9b59
BLAKE2b-256 05fe9c389890f91bd663343fb7c903eb7469acff5f68c433c1ea1576f00ead18

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 383.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.2.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 8555313eb78c1a99a142d03d04df7f240f19d6a8b5aeeea53e3b4ab3fd09f375
MD5 9c35f3a18a0049e0954fc64fcc97392e
BLAKE2b-256 1ffe189ffef78c7261584d0db017471d8ca8f91f1379dc884645507efed803ce

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 357.7 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.2.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 460e777eceee314a3202e4fa2901a67b74ba84d5bac2a3203534655c3dfde300
MD5 8e563dba1bbfeef8fd47b3dc01ef85bc
BLAKE2b-256 56b2123e88f85d53380337ede20fdea22c7700e20265cfc24208b41a6725539b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 722.8 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.2.0-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7dee9d65ab6591a7d4a0c56582805bfd78a9baf7c15f550958c49e396ddc04af
MD5 a751e42421111b0d4c9708813b968e6e
BLAKE2b-256 b1264e4d18f83fa44a40c62a8f18c6a5cb959325a8bc365b46f0c1f4f525c42b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.2.0-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 566.5 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.2.0-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 c913287df50ed9160ec5531703cd12673d36a2bcedfd20dadbfe1d73d9b04fec
MD5 959cf280aea2398abc42b6b1d523618e
BLAKE2b-256 ad30d6190d2bfb8d0b08552304765bc29382ae6a77e26074d28ad2020dc5e581

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