SIP v4.10 Released (Python Bindings Generator)

P

Phil Thompson

SIP v4.10 has been released and can be downloaded from
http://www.riverbankcomputing.com/software/sip/.

SIP is a tool for generating Python modules that wrap C or C++ libraries.
It is similar to SWIG. It is used to generate PyQt and PyKDE.

The SIP license is similar to the Python License and is also licensed under
the GPL v2 and v3.

SIP runs on Windows, UNIX, Linux and MacOS/X.

SIP requires Python v2.3 or later and fully supports Python v3.

This release adds support for keyword arguments and docstrings. Docstrings
may be either explictly specified or automatically generated.
Automatically generated docstrings describe the Python signatures of all
available overloads for a callable. A significantly improved error
reporting mechanism uses those docstrings in exceptions raised when
arguments with incorrect types are passed.

Other features of SIP include:

- extension modules are implemented as a single binary .pyd or .so file (no
Python stubs)
- support for Python new-style classes
- the ability to specify the super-type and meta-type used to wrap
instances
- generated modules are quick to import, even for large libraries
- thread support
- the ability to re-implement C++ abstract and virtual methods in Python
- the ability to define Python classes that derive from abstract C++
classes
- the ability to spread a class hierarchy across multiple Python modules
- the ability to wrap a C++ class in different ways and allow an
application to select a particular implementation at run-time
- support for C++ namespaces
- support for C++ exceptions
- support for C++ operators
- an extensible build system written in Python that supports over 50
platform/compiler combinations
- the generation of API files for IDEs that support autocompletion and call
tips.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

Forum statistics

Threads
474,262
Messages
2,571,056
Members
48,769
Latest member
Clifft

Latest Threads

Top