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

Uploaded Source

Built Distributions

sip-6.0.3-cp39-cp39-win_amd64.whl (610.5 kB view details)

Uploaded CPython 3.9 Windows x86-64

sip-6.0.3-cp39-cp39-win32.whl (583.5 kB view details)

Uploaded CPython 3.9 Windows x86

sip-6.0.3-cp39-cp39-manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.9

sip-6.0.3-cp39-cp39-macosx_10_9_x86_64.whl (605.7 kB view details)

Uploaded CPython 3.9 macOS 10.9+ x86-64

sip-6.0.3-cp38-cp38-win_amd64.whl (610.5 kB view details)

Uploaded CPython 3.8 Windows x86-64

sip-6.0.3-cp38-cp38-win32.whl (583.5 kB view details)

Uploaded CPython 3.8 Windows x86

sip-6.0.3-cp38-cp38-manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.8

sip-6.0.3-cp38-cp38-macosx_10_9_x86_64.whl (605.7 kB view details)

Uploaded CPython 3.8 macOS 10.9+ x86-64

sip-6.0.3-cp37-cp37m-win_amd64.whl (610.5 kB view details)

Uploaded CPython 3.7m Windows x86-64

sip-6.0.3-cp37-cp37m-win32.whl (583.3 kB view details)

Uploaded CPython 3.7m Windows x86

sip-6.0.3-cp37-cp37m-manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.7m

sip-6.0.3-cp37-cp37m-macosx_10_9_x86_64.whl (605.4 kB view details)

Uploaded CPython 3.7m macOS 10.9+ x86-64

sip-6.0.3-cp36-cp36m-win_amd64.whl (610.5 kB view details)

Uploaded CPython 3.6m Windows x86-64

sip-6.0.3-cp36-cp36m-win32.whl (583.3 kB view details)

Uploaded CPython 3.6m Windows x86

sip-6.0.3-cp36-cp36m-manylinux2014_x86_64.whl (1.1 MB view details)

Uploaded CPython 3.6m

sip-6.0.3-cp36-cp36m-macosx_10_6_intel.whl (790.2 kB view details)

Uploaded CPython 3.6m macOS 10.6+ intel

File details

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

File metadata

  • Download URL: sip-6.0.3.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3.tar.gz
Algorithm Hash digest
SHA256 929e3515428ea962003ccf6795244a5fe4fa6e2c94dc9ab8cb2c58fcd368c34c
MD5 032fcb6ba9bb9db5911d94985e846d42
BLAKE2b-256 76d95e1048d2f2fa6714e0d76382810b0fa81400c40e25b1f4f46c1a82e48364

See more details on using hashes here.

File details

Details for the file sip-6.0.3-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: sip-6.0.3-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 610.5 kB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 c123ddb6662111de7a977bba244158ef9820f1868e1639cea0d0e6ccf9b9c71a
MD5 94cf5039ac3eca084b471f02118dceb2
BLAKE2b-256 099fba13168a3f6a84e2a55cbf59e4284533fafa2c18e06f440838e9b18b4e77

See more details on using hashes here.

File details

Details for the file sip-6.0.3-cp39-cp39-win32.whl.

File metadata

  • Download URL: sip-6.0.3-cp39-cp39-win32.whl
  • Upload date:
  • Size: 583.5 kB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 5e416d22ca386d5ce866d5a7705b9228c012069c8d2422a017d37f6ece181d2b
MD5 a478d6e79b32589668f7c3c0b1d6c74e
BLAKE2b-256 7da14bd582029c0e98a6fd507145ddfb6f14db6cd73fc84d7697305c57e9adec

See more details on using hashes here.

File details

Details for the file sip-6.0.3-cp39-cp39-manylinux2014_x86_64.whl.

File metadata

  • Download URL: sip-6.0.3-cp39-cp39-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.9
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp39-cp39-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 09a1ca97a679244089103ecba134a9d292e3bda1871b850d68a5029b3c73fbc1
MD5 5c8c7545c4e3b31311a4a1ae2de88d80
BLAKE2b-256 d609885e446e768c52f6d05b06981802ee08f423663b93e72d7a930b27f3bf6b

See more details on using hashes here.

File details

Details for the file sip-6.0.3-cp39-cp39-macosx_10_9_x86_64.whl.

File metadata

  • Download URL: sip-6.0.3-cp39-cp39-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 605.7 kB
  • Tags: CPython 3.9, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp39-cp39-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 90235753a24515cf9f822367449f0be74d5013bb50cf3fedf0d9ba97b93ff665
MD5 5a3aab323e06df4810861d7ccb51d000
BLAKE2b-256 1ecaeeeb9d36c8d36a5572ab71c658cd9680e55a228e797e7445443b0b4cf416

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 610.5 kB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 a359e94961564ca9dc29c8f6b31fb4b35b3eb568743c147c95b87a1fe2109185
MD5 ada09d366765183236c1e40fdee4b8c3
BLAKE2b-256 8fb9f1ac2ac4847a260a56d47dd67b9aa46756f4cc9c9e47c8ac0c1e47fdbe6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp38-cp38-win32.whl
  • Upload date:
  • Size: 583.5 kB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 d3e82fcec71f76c177184a77e19b435dbbcfaad9a0e3e79069e49f6938e3a9b5
MD5 13c9553b72a7a45358a8911c36921fc1
BLAKE2b-256 d29a204b1801b551b51de2e9dcb7f44bc401295bf5cc896d5ae4f8b96cdb1321

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp38-cp38-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.8
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp38-cp38-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 e280e10a4bc08777905a648d30ceff2fd984f1cb48db4f472051a16e73a3a298
MD5 6a7aabd4461eee297acd4ae0bf8b9c2e
BLAKE2b-256 74024ff5cee19f2377e659acec0ce45ae43903af8bba80adce263fefe1da6c36

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp38-cp38-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 605.7 kB
  • Tags: CPython 3.8, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp38-cp38-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 19c1936b34814f5817344806ba79aa94adfde1249144d1be277d7ca8222e81df
MD5 23b717eeb197ce684af65b5c2720088a
BLAKE2b-256 2dfc9049cf2d0b670396b50af26e77ddf6bf93f43746c506deb39280975e668f

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp37-cp37m-win_amd64.whl
  • Upload date:
  • Size: 610.5 kB
  • Tags: CPython 3.7m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp37-cp37m-win_amd64.whl
Algorithm Hash digest
SHA256 53be8a66d27bb04ce768c8096c565007ac24b8ebf36f616b660d6c10094c8f70
MD5 d75811dd4a9ccc0079e58b7d6c178923
BLAKE2b-256 8b10ef2555b0355352086685e9f23ff1faf14e2b5c8fb843f02410a9e3f5c227

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp37-cp37m-win32.whl
  • Upload date:
  • Size: 583.3 kB
  • Tags: CPython 3.7m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp37-cp37m-win32.whl
Algorithm Hash digest
SHA256 658d55523d6c03038ca340715e7d613c7826d27d015b0de496f5a2c91bdbdf44
MD5 b4924e5e83a62958530eb83a51e31212
BLAKE2b-256 eed2d4961b8cb9350ae67f4449b9de4233c3fd33bf2d335c3fecb3defa0b1346

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp37-cp37m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.7m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp37-cp37m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 fbea226fe9de1162b9666d13e425c83588b7a45bd9b83e1661f3e55f9bc4414b
MD5 49bc22a7469c7942de8c532d9c76d9fb
BLAKE2b-256 3b50f2510ffadb4e732c791f0747ff77348b50d5c5e0b24035c960349a52c220

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
  • Upload date:
  • Size: 605.4 kB
  • Tags: CPython 3.7m, macOS 10.9+ x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp37-cp37m-macosx_10_9_x86_64.whl
Algorithm Hash digest
SHA256 9c20d6d5b2be17a2de13c310da9bac37b376228c50dea034e05b94c6c2256970
MD5 907f7589b9616076537ffd492a498e6e
BLAKE2b-256 9e4ca26416540cdaf22cba1810c823150bf93660b484d7d028c00b7ae80d4274

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp36-cp36m-win_amd64.whl
  • Upload date:
  • Size: 610.5 kB
  • Tags: CPython 3.6m, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp36-cp36m-win_amd64.whl
Algorithm Hash digest
SHA256 5bae31d2ff50082f017ec99772ead61cb06450e3d4169bb8981cf9bd0da3483b
MD5 27800d59e8217e1c12a3d018c8879de9
BLAKE2b-256 8fe57008a8c7cb114fd94dec2a622da16c7a7b767a5696777240f6d7f2584169

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp36-cp36m-win32.whl
  • Upload date:
  • Size: 583.3 kB
  • Tags: CPython 3.6m, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp36-cp36m-win32.whl
Algorithm Hash digest
SHA256 9a7b54511b6907945f94f0dbbf1c908f74749ed13336acc691fe40452ad21296
MD5 84579a336ee3382738b18239281ca792
BLAKE2b-256 17a5ba3fdb6a8c28256330a9470ec9360785ff2092870bf4e1b32a3dea52a4a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp36-cp36m-manylinux2014_x86_64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.6m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp36-cp36m-manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 91ca4595b7c33fd6be8ad186622ad9c1a7564c1704bbcada189a656646386e19
MD5 36cd3cfc814439823ce9f2050c130e86
BLAKE2b-256 2575b1ad4a4d9a7b061cf393b6b184611a3506f78784fb6193320cc03ab88077

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sip-6.0.3-cp36-cp36m-macosx_10_6_intel.whl
  • Upload date:
  • Size: 790.2 kB
  • Tags: CPython 3.6m, macOS 10.6+ intel
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.0

File hashes

Hashes for sip-6.0.3-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 04b1bc007ad68a7fa0b91deb14efbb5669bf84fb7219c2a36dfd6d1400aee024
MD5 18f77bff75f5ff11dc42ed96cb8d5117
BLAKE2b-256 94e141e2284309759215fdb00eab1292ad9759e28aa0bcdf2558c241a5430857

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