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

Uploaded Source

Built Distributions

sip-5.1.2-cp38-cp38-win_amd64.whl (382.8 kB view details)

Uploaded CPython 3.8 Windows x86-64

sip-5.1.2-cp38-cp38-win32.whl (357.1 kB view details)

Uploaded CPython 3.8 Windows x86

sip-5.1.2-cp38-cp38-manylinux2014_x86_64.whl (723.7 kB view details)

Uploaded CPython 3.8

sip-5.1.2-cp38-cp38-macosx_10_9_x86_64.whl (383.5 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

sip-5.1.2-cp37-cp37m-win_amd64.whl (382.7 kB view details)

Uploaded CPython 3.7m Windows x86-64

sip-5.1.2-cp37-cp37m-win32.whl (357.0 kB view details)

Uploaded CPython 3.7m Windows x86

sip-5.1.2-cp37-cp37m-manylinux2014_x86_64.whl (723.2 kB view details)

Uploaded CPython 3.7m

sip-5.1.2-cp37-cp37m-macosx_10_9_x86_64.whl (383.3 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

sip-5.1.2-cp36-cp36m-win_amd64.whl (382.7 kB view details)

Uploaded CPython 3.6m Windows x86-64

sip-5.1.2-cp36-cp36m-win32.whl (357.0 kB view details)

Uploaded CPython 3.6m Windows x86

sip-5.1.2-cp36-cp36m-manylinux2014_x86_64.whl (723.2 kB view details)

Uploaded CPython 3.6m

sip-5.1.2-cp36-cp36m-macosx_10_6_intel.whl (566.7 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

sip-5.1.2-cp35-cp35m-win_amd64.whl (382.7 kB view details)

Uploaded CPython 3.5m Windows x86-64

sip-5.1.2-cp35-cp35m-win32.whl (357.0 kB view details)

Uploaded CPython 3.5m Windows x86

sip-5.1.2-cp35-cp35m-manylinux2014_x86_64.whl (723.2 kB view details)

Uploaded CPython 3.5m

sip-5.1.2-cp35-cp35m-macosx_10_6_intel.whl (566.8 kB view details)

Uploaded CPython 3.5m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: sip-5.1.2.tar.gz
  • Upload date:
  • Size: 987.6 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.1.2.tar.gz
Algorithm Hash digest
SHA256 ecfa9d710d192838e1f457544b7a208498c3dd6778816f0104d36f2b820a7873
MD5 67aaea0b54f3749b626d18c845f44e42
BLAKE2b-256 ed8e1f98323f8425680592d25104b5aaa218bf8a128af85331180c833bdd1b24

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 382.8 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.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 bf023704262309de264a9bf1f37ad60f9fdf3a763d4ba3ffda1b674fc7848ca0
MD5 f0b63f453c920b609072ca5933b402fa
BLAKE2b-256 8149fd0d86516a3e0b56bba3d1800db6ee5f6e752959984a3c23bc2f9f721d23

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 357.1 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.1.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 d268f01644a4f7c203cbc6a835e3837bb880e1594fb9ed2340ef4f72d82a9e97
MD5 33455a89023638eb1eff598d3911a169
BLAKE2b-256 3171121fd839b42c4b881fc72fd47a14e8862899631f04e6f927022ce6fbedfa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 723.7 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.1.2-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 4a2a2431aa33742a076355e649d6cfb72250c070116bec7b416a93a6c063f252
MD5 e55f1f64ff6114f5e313f43ee4ee53cd
BLAKE2b-256 3bcaabd8ba40511638c6165fa690e92362f4a2fa786ba8a20874589c77ace2f6

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 383.5 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.1.2-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 18be25733f1ad03998b42183e5e5766b66766c181ae8570fbd0d225c3a979f56
MD5 f9af85ef760c63ad0770be1ba9269604
BLAKE2b-256 f2caf222cef5f592113829d8e83ecad3133eab237620f7ea412c9f5906d17196

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 382.7 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.1.2-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 6effb3f21817e0bbfb7456569d69332b512fc8a696978a0d53052a7327ef3095
MD5 9cc3206df453b720b8dd59c3f25fb27d
BLAKE2b-256 a7b3073dec582f200a8c34f28e6f6410e7153c654f026794866c73d72bde0106

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 357.0 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.1.2-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 c89088c54ba54be0756c1b56b86afb7c20d811c3049944ab8be09471dace12f3
MD5 32e9e4656a9bf50d4a575e6e3137440a
BLAKE2b-256 d9fcaf40e06c925c963442660e16d572b6b0103999b3680efd1d6bd5141e472f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 723.2 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.1.2-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 123bcd50a95f2317f136b8e94887477fb5d4039cb9417edf4666b7bc60b1b9a6
MD5 d5013b37449c825fac66343efb2ddbea
BLAKE2b-256 a366f145ea7e764a00a6c1a681fba5d527bcaa01edb482e32d0ddce5e2c22f3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 383.3 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.1.2-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 022d78c52ad26cf778f83f85964234040bab7112125af15727186595a2e12562
MD5 e0c24d52bc308194a3466ed69fbbbe4c
BLAKE2b-256 70e478d8d13a647c7dcbf7353c4a0e358e17413c16bc091a529958fa1842d05e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 382.7 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.1.2-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 0aebd136eef81a5a122e53e80daeaaf2ea04482a7bf3bc831cefe6146dfd9609
MD5 9f5a5c26ed3f2304688faded0a888b34
BLAKE2b-256 c1ba605082bfa9eb5849c626bd9a81bb0f1025472487e3f3dd3e47b8a77e9a10

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 357.0 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.1.2-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 a03c2af47cca50fb7f491fe2e35a998f3a745280f8bb1af56c23dd7a1ecdde47
MD5 eaec6434420f8b36fa910ab1aa5d3d96
BLAKE2b-256 d0abdc094e5d9ddba144c75dc55247a89ed56771103539372d6b37da95da7215

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 723.2 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.1.2-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 9889fe09d54e26722e8b9957770078cce6d04fde10f4d5c90b825a58f334f295
MD5 241a6215f2ec860232be2a78f41b5841
BLAKE2b-256 6bf38481367d9521eaac59a779ed3a202c462e27fce65001ac965a166c5ce59e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 566.7 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.1.2-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 7d2212a71580d9d727644a9d35df6a06975ffbcc422d63ed3c86ed1acc54639f
MD5 28394b5875009fcdcda9a5859953c228
BLAKE2b-256 43d2852b70eadaf96915ef6088b12dae7b17d0c705284629ea45274948a79e60

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp35-cp35m-win_amd64.whl
  • Upload date:
  • Size: 382.7 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.1.2-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 4e0a211a818cc223a61a1b8f0c24c3ec0d847df5a34a51bb8710da1c952e3ae1
MD5 40cbc078204c52166e1fc07a594df0e6
BLAKE2b-256 6cce458f69cce35b1d8735374b1d7a93e2470e45b4f815c072b6907aad7cedfa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 357.0 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.1.2-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 da277a72444068ed56f35bf3c4bdacb72bc40de0607cb0b86348ae44cb79fae7
MD5 e1124653ae49ecc7755531d342288cdb
BLAKE2b-256 f5a95d303eb0c109606c770a0a967e3dd90c3d1467a8b83c052d39f8cb032aec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp35-cp35m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 723.2 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.1.2-cp35-cp35m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 168a9203e27baf12192756a52559a8ed678a70cb1831c9e4b092fbb6db2bb74f
MD5 f6da0eefc3dc8580ef589b55ae905cf8
BLAKE2b-256 94c9b0e13cf7d1ae352e1d46288bcc64346d61f4adaa23e128f0b36b85be9bbb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-5.1.2-cp35-cp35m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 566.8 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.1.2-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 202f10560f70c594dd8b415d60ec4955edf4ba5336852bd439799b1444f1e934
MD5 b6daca3bc979fcd4debe3aa5f8f3122b
BLAKE2b-256 8019045b32f2b096d1677e790800cde15f42d982d2d51d0ff53dda24e6333869

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