sip
« Back to VersTracker
Description:
Tool to create Python bindings for C and C++ libraries
Type: Formula  |  Latest Version: 6.15.0@0  |  Tracked Since: Dec 6, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: python bindings c-plus-plus c development ffi
Install: brew install sip
About:
SIP is a tool that automatically generates Python bindings for C and C++ libraries. It allows developers to seamlessly integrate existing C/C++ codebases with Python applications. This enables high-performance extensions and modules to be written in Python while leveraging the speed and capabilities of compiled languages.
Key Features:
  • Automatic code generation for Python bindings
  • Support for both C and C++ libraries
  • Declarative API definition using .sip files
  • Integration with Python's build system (setuptools)
  • Handles complex C++ features like classes, templates, and inheritance
Use Cases:
  • Creating Python wrappers for existing C++ libraries to make them accessible from Python
  • Building high-performance Python extensions for computationally intensive tasks
  • Integrating legacy C codebases with modern Python applications
Alternatives:
  • pybind11 – Modern C++ header-only library, often preferred for new projects due to simpler syntax and better C++11+ support
  • Cython – Superset of Python that compiles to C, offering more Pythonic syntax but requiring code rewriting
  • ctypes – Built-in Python library for C-compatible data types, but requires manual wrapping and lacks C++ support
Version History
Detected Version Rev Change Commit
Dec 20, 2025 2:24pm 6.15.0 0 VERSION_BUMP f06983bb
Dec 6, 2025 2:19pm 0 VERSION_BUMP c81ec21e
Oct 12, 2025 10:25am 0 VERSION_BUMP 36881915
Oct 10, 2025 5:49pm 0 VERSION_BUMP 02b7a1d4
Sep 11, 2025 2:13am 0 VERSION_BUMP 49bc96e5
Dec 12, 2024 11:09am 0 VERSION_BUMP f3ff0e69
Oct 27, 2024 11:42pm 0 VERSION_BUMP e21d7315