Skip to main content

Python extension module generator for C and 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 tool that makes it very easy to create Python bindings for C and C++ libraries. It was originally developed to create PyQt, the Python bindings for the Qt toolkit, but can be used to create bindings for any C or C++ library.

SIP comprises a code generator and a Python module. The code generator processes a set of specification files and generates C or C++ code which is then compiled to create the bindings extension module. The sip Python module provides support functions to the automatically generated code.

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 the corresponding header file.

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 source packages, and Linux 64-bit wheels, can be dowloaded from https://www.riverbankcomputing.com/software/sip/download/.

Wheels for 32 and 64-bit Windows, 64-bit OS X and 64-bit Linux can be installed from PyPI:

pip3 install sip

All wheels include the sip extension module but do not include the code generator.

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

sip-4.19.8-cp37-none-win_amd64.whl (51.3 kB view details)

Uploaded CPython 3.7Windows x86-64

sip-4.19.8-cp37-none-win32.whl (42.7 kB view details)

Uploaded CPython 3.7Windows x86

sip-4.19.8-cp37-cp37m-manylinux1_x86_64.whl (66.4 kB view details)

Uploaded CPython 3.7m

sip-4.19.8-cp37-cp37m-macosx_10_6_intel.whl (51.3 kB view details)

Uploaded CPython 3.7mmacOS 10.6+ Intel (x86-64, i386)

sip-4.19.8-cp36-none-win_amd64.whl (51.2 kB view details)

Uploaded CPython 3.6Windows x86-64

sip-4.19.8-cp36-none-win32.whl (42.7 kB view details)

Uploaded CPython 3.6Windows x86

sip-4.19.8-cp36-cp36m-manylinux1_x86_64.whl (66.4 kB view details)

Uploaded CPython 3.6m

sip-4.19.8-cp36-cp36m-macosx_10_6_intel.whl (51.2 kB view details)

Uploaded CPython 3.6mmacOS 10.6+ Intel (x86-64, i386)

sip-4.19.8-cp35-none-win_amd64.whl (51.2 kB view details)

Uploaded CPython 3.5Windows x86-64

sip-4.19.8-cp35-none-win32.whl (42.7 kB view details)

Uploaded CPython 3.5Windows x86

sip-4.19.8-cp35-cp35m-manylinux1_x86_64.whl (66.4 kB view details)

Uploaded CPython 3.5m

sip-4.19.8-cp35-cp35m-macosx_10_6_intel.whl (51.2 kB view details)

Uploaded CPython 3.5mmacOS 10.6+ Intel (x86-64, i386)

File details

Details for the file sip-4.19.8-cp37-none-win_amd64.whl.

File metadata

File hashes

Hashes for sip-4.19.8-cp37-none-win_amd64.whl
Algorithm Hash digest
SHA256 105edaaa1c8aa486662226360bd3999b4b89dd56de3e314d82b83ed0587d8783
MD5 4db643a2b097a9fd2cfb31b69a89ab4e
BLAKE2b-256 4cfb4fb2152ee346133603779ef267ea5a7eb50cb6679674bf9b851722cf297b

See more details on using hashes here.

File details

Details for the file sip-4.19.8-cp37-none-win32.whl.

File metadata

  • Download URL: sip-4.19.8-cp37-none-win32.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: CPython 3.7, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sip-4.19.8-cp37-none-win32.whl
Algorithm Hash digest
SHA256 1bb10aac55bd5ab0e2ee74b3047aa2016cfa7932077c73f602a6f6541af8cd51
MD5 d1027a6b68e192b10d0d642cb847ecbe
BLAKE2b-256 8934056db01926839dd05f80a08a579ee2f4f6625913b0620580ee580fa05fbf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sip-4.19.8-cp37-cp37m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7d69e9cf4f8253a3c0dfc5ba6bb9ac8087b8239851f22998e98cb35cfe497b68
MD5 22c3996b89d5df409b681e76b47549f5
BLAKE2b-256 6f42538d33b0add4c0ae05bce1e0ee74fd0a13c3f1354fefdbf5d2077a8a866d

See more details on using hashes here.

File details

Details for the file sip-4.19.8-cp37-cp37m-macosx_10_6_intel.whl.

File metadata

File hashes

Hashes for sip-4.19.8-cp37-cp37m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 97bb93ee0ef01ba90f57be2b606e08002660affd5bc380776dd8b0fcaa9e093a
MD5 b7c6d0ec164f829cf24ec4aaf5c356b5
BLAKE2b-256 76e264bd7b249fb3fe3d225338d0acccaeb34da6a26f72f5eac969ad9c570ea0

See more details on using hashes here.

File details

Details for the file sip-4.19.8-cp36-none-win_amd64.whl.

File metadata

File hashes

Hashes for sip-4.19.8-cp36-none-win_amd64.whl
Algorithm Hash digest
SHA256 265ddf69235dd70571b7d4da20849303b436192e875ce7226be7144ca702a45c
MD5 84ff15f8d62d5744cb3662c9ee616d67
BLAKE2b-256 30fa90ea79d7b6b21a50e16d2e1214bd4d45390ee1b5393dc09c3785a3dc9c7e

See more details on using hashes here.

File details

Details for the file sip-4.19.8-cp36-none-win32.whl.

File metadata

  • Download URL: sip-4.19.8-cp36-none-win32.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: CPython 3.6, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sip-4.19.8-cp36-none-win32.whl
Algorithm Hash digest
SHA256 74da4ddd20c5b35c19cda753ce1e8e1f71616931391caeac2de7a1715945c679
MD5 19a0f100fce0b08f60a8d04dfc133b33
BLAKE2b-256 7a4967cc7955baf2ec5b67e141da2ab2a436cbf0f8d7c9fcab54e35df21d056b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sip-4.19.8-cp36-cp36m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 cf98150a99e43fda7ae22abe655b6f202e491d6291486548daa56cb15a2fcf85
MD5 d428dece2fb2548a871399a4d2d33984
BLAKE2b-256 8aead317ce5696dda4df7c156cd60447cda22833b38106c98250eae1451f03ec

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sip-4.19.8-cp36-cp36m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 09f9a4e6c28afd0bafedb26ffba43375b97fe7207bd1a0d3513f79b7d168b331
MD5 81f6249ff2910cff557229f446131673
BLAKE2b-256 b16f782b6ff2770ebc6709dd7dc53a0636599a035853c78d785911fefc3f0e43

See more details on using hashes here.

File details

Details for the file sip-4.19.8-cp35-none-win_amd64.whl.

File metadata

File hashes

Hashes for sip-4.19.8-cp35-none-win_amd64.whl
Algorithm Hash digest
SHA256 5ff887a33839de8fc77d7f69aed0259b67a384dc91a1dc7588e328b0b980bde2
MD5 5e73f8fbfce0d387404d4415b242f93a
BLAKE2b-256 1575bf654c02d5df484d8d336cb76629d1f651905a0b23f34fcc1853d07fa5a8

See more details on using hashes here.

File details

Details for the file sip-4.19.8-cp35-none-win32.whl.

File metadata

  • Download URL: sip-4.19.8-cp35-none-win32.whl
  • Upload date:
  • Size: 42.7 kB
  • Tags: CPython 3.5, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for sip-4.19.8-cp35-none-win32.whl
Algorithm Hash digest
SHA256 52074f7cb5488e8b75b52f34ec2230bc75d22986c7fe5cd3f2d266c23f3349a7
MD5 f768cf2b51eb06bf3b9e4b957431c98b
BLAKE2b-256 8a62a1b3612a016b01b2606d32e89b1f2e83b915b278aa61fd63fb8dc66ba536

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sip-4.19.8-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 e72955e12f4fccf27aa421be383453d697b8a44bde2cc26b08d876fd492d0174
MD5 264e8d79b4bb978bf189aa8f3e80a0e8
BLAKE2b-256 6b462869369c8ec634ec9dc714b84834e9264acbe87eb7492328efccfa0c855e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for sip-4.19.8-cp35-cp35m-macosx_10_6_intel.whl
Algorithm Hash digest
SHA256 d9023422127b94d11c1a84bfa94933e959c484f2c79553c1ef23c69fe00d25f8
MD5 e2eb83833eb05e88257568a161188cf9
BLAKE2b-256 d3663fc04a7f33c9b49a62c2edc8f3da70c141f2b1e09f921cd4a88a0e086ce6

See more details on using hashes here.

Supported by

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