sip


Namesip JSON
Version 6.8.3 PyPI version JSON
download
home_pagehttps://www.riverbankcomputing.com/software/sip/
SummaryA Python bindings generator for C/C++ libraries
upload_time2024-02-09 10:22:54
maintainer
docs_urlNone
authorRiverbank Computing Limited
requires_python>=3.7
licenseSIP
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            SIP - A Python Bindings Generator for C and C++ Libraries
=========================================================

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.8.

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.8, v3.9, v3.10, v3.11).

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 <https://www.riverbankcomputing.com/static/Docs/sip/>`__.

            

Raw data

            {
    "_id": null,
    "home_page": "https://www.riverbankcomputing.com/software/sip/",
    "name": "sip",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Riverbank Computing Limited",
    "author_email": "info@riverbankcomputing.com",
    "download_url": "https://files.pythonhosted.org/packages/99/85/261c41cc709f65d5b87669f42e502d05cc544c24884121bc594ab0329d8e/sip-6.8.3.tar.gz",
    "platform": "X11",
    "description": "SIP - A Python Bindings Generator for C and C++ Libraries\n=========================================================\n\nWhat is SIP?\n------------\n\nOne of the features of Python that makes it so powerful is the ability to take\nexisting libraries, written in C or C++, and make them available as Python\nextension modules.  Such extension modules are often called bindings for the\nlibrary.\n\nSIP is a collection of tools that makes it very easy to create Python bindings\nfor C and C++ libraries.  It was originally developed in 1998 to create PyQt,\nthe Python bindings for the Qt toolkit, but can be used to create bindings for\nany C or C++ library.  For example it is also used to generate wxPython, the\nPython bindings for wxWidgets.\n\nSIP comprises a set of build tools and a sip module. The build tools process a\nset of specification files and generates C or C++ code which is then compiled\nto create the bindings extension module.  Several extension modules may be\ninstalled in the same Python package.  Extension modules can be built so that\nthey are are independent of the version of Python being used.  In other words a\nwheel created from them can be installed with any version of Python starting\nwith v3.8.\n\nThe specification files contain a description of the interface of the C or C++\nlibrary, i.e. the classes, methods, functions and variables.  The format of a\nspecification file is almost identical to a C or C++ header file, so much so\nthat the easiest way of creating a specification file is to edit a copy of the\ncorresponding header file.\n\nThe sip module provides support functions to the automatically generated\ncode.  The sip module is installed as part of the same Python package as the\ngenerated extension modules.  Unlike the extension modules the sip module is\nspecific to a particular version of Python (e.g. v3.8, v3.9, v3.10, v3.11).\n\nSIP makes it easy to exploit existing C or C++ libraries in a productive\ninterpretive programming environment.  SIP also makes it easy to take a Python\napplication (maybe a prototype) and selectively implement parts of the\napplication (maybe for performance reasons) in C or C++.\n\n\nAuthor\n------\n\nSIP is copyright (c) Riverbank Computing Limited.  Its homepage is\nhttps://www.riverbankcomputing.com/software/sip/.\n\nSupport may be obtained from the PyQt mailing list at\nhttps://www.riverbankcomputing.com/mailman/listinfo/pyqt/.\n\n\nLicense\n-------\n\nSIP is released under the GPL v2, GPL v3 licenses, and under a license similar\nto the BSD license.\n\n\nInstallation\n------------\n\nSIP can be installed from PyPI::\n\n    pip install sip\n\n\nDocumentation\n-------------\n\nThe documentation for the latest release can be found\n`here <https://www.riverbankcomputing.com/static/Docs/sip/>`__.\n",
    "bugtrack_url": null,
    "license": "SIP",
    "summary": "A Python bindings generator for C/C++ libraries",
    "version": "6.8.3",
    "project_urls": {
        "Homepage": "https://www.riverbankcomputing.com/software/sip/"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "22cb3763a07a046884cdc14668758895cc6a8cd1b8d06281d5b6914b0e6948bc",
                "md5": "ff3d8c4f13d6e7a1646af64f69fd8f88",
                "sha256": "11c332566de0d752df92906101260e81401bf574417a6bc31fb99364ae6b652d"
            },
            "downloads": -1,
            "filename": "sip-6.8.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ff3d8c4f13d6e7a1646af64f69fd8f88",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 573746,
            "upload_time": "2024-02-09T10:22:50",
            "upload_time_iso_8601": "2024-02-09T10:22:50.629496Z",
            "url": "https://files.pythonhosted.org/packages/22/cb/3763a07a046884cdc14668758895cc6a8cd1b8d06281d5b6914b0e6948bc/sip-6.8.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9985261c41cc709f65d5b87669f42e502d05cc544c24884121bc594ab0329d8e",
                "md5": "7e1ad92723d0f0559e987cdd4fe75613",
                "sha256": "888547b018bb24c36aded519e93d3e513d4c6aa0ba55b7cc1affbd45cf10762c"
            },
            "downloads": -1,
            "filename": "sip-6.8.3.tar.gz",
            "has_sig": false,
            "md5_digest": "7e1ad92723d0f0559e987cdd4fe75613",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 987656,
            "upload_time": "2024-02-09T10:22:54",
            "upload_time_iso_8601": "2024-02-09T10:22:54.132058Z",
            "url": "https://files.pythonhosted.org/packages/99/85/261c41cc709f65d5b87669f42e502d05cc544c24884121bc594ab0329d8e/sip-6.8.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-09 10:22:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sip"
}
        
Elapsed time: 0.17227s