Skip to main content

GUI Development Tool for SIP

Project description

MetaSIP - a GUI Development Tool for SIP

SIP is a Python bindings generator for C and C++ libraries. It takes as its input a set of .sip text files that describes the history of the API of the library. A .sip file is similar to a C/C++ header file but with addional directives, annotations and supplementary hand-written C/C++ code.

MetaSIP (specifically the msip application) is a GUI tool for specifying the complete history of a library's API allowing additional directives, annotations and hand-written code to be added. A .msp project file is used to store this information and MetaSIP (specifically the msipgen application) can generate an appropriate set of .sip files to feed to SIP.

The key feature of MetaSIP is that it can scan the header files of a particular version of a library in order to initially populate the project file. It will then indicate all of the tasks that might need to be performed in order to complete the implementation of the bindings. It will also scan a new version of the library, compare it with the previous version, update the project file appropriately, and indicate any new tasks that now might need to be performed in order to keep the bindings up to date. These features make it relatively easy to maintain the bindings for a large library.

Currently the scanning of a library's header files is done using CastXML and this must also be installed.

MetaSIP is implemented with Python and PyQt6.

It should be noted that MetaSIP was developed a number of years ago by the author as a personal productivity tool. As a result it is fairly feature complete. However because it has not been used by a significant number of people, its behavour may seem quirky in places. It is certainly poorly documented with no online help.

Documentation

The documentation can be found at Read the Docs.

License

MetaSIP is licensed under the BSD 2 clause license.

Installation

To install msipgen, run:

pip install metasip

To install the additional dependencies required by the msip GUI development tool, run:

pip install 'metasip[gui]'

Creating Packages for Distribution

Python sdists and wheels can be created with any standard Python build frontend.

For example, using build an sdist and wheel will be created from a checkout in the current directory by running:

python -m build --outdir .

Building the Documentation

The documentation is built using Sphinx, myst_parser and the sphinx-rtd-theme theme.

Change to the docs directory of a checkout and run:

make html

The HTML documentation can then be found in the _build/html subdirectory.

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

metasip-2.14.0.tar.gz (84.1 kB view details)

Uploaded Source

Built Distribution

metasip-2.14.0-py3-none-any.whl (156.1 kB view details)

Uploaded Python 3

File details

Details for the file metasip-2.14.0.tar.gz.

File metadata

  • Download URL: metasip-2.14.0.tar.gz
  • Upload date:
  • Size: 84.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for metasip-2.14.0.tar.gz
Algorithm Hash digest
SHA256 81d9ae7b1052caeb081aada66c6b157c9d8e199b460d23dba737518d601e8f8e
MD5 f7e76837b666fb5c8a2983119022b3ec
BLAKE2b-256 19b9a9b206d3cd73f3562aba860ec47bc080b744ffe466dbad59698a7f4274ab

See more details on using hashes here.

File details

Details for the file metasip-2.14.0-py3-none-any.whl.

File metadata

  • Download URL: metasip-2.14.0-py3-none-any.whl
  • Upload date:
  • Size: 156.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.0

File hashes

Hashes for metasip-2.14.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aaf140cd07590c3ee731a6a3dc0b2adef2d3d7dcbc6c086a68b5dd871a7b16fc
MD5 c053763900c4cc23887013caae1c61dd
BLAKE2b-256 a1ef54782f34dc4ab1850cddb012eaac92701971d6119b7419223a68a0b3f56b

See more details on using hashes here.

Supported by

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