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
|
| 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 |
| Jun 22, 2024 3:13am |
|
0 |
VERSION_BUMP |
6f2b044b |
| Jun 21, 2024 8:29pm |
|
0 |
VERSION_BUMP |
e6a803a9 |
| Jun 21, 2024 1:58pm |
|
0 |
VERSION_BUMP |
d4732cfb |
| Apr 30, 2024 1:20am |
|
1 |
VERSION_BUMP |
e01a6bff |
| Dec 13, 2023 9:14pm |
|
0 |
VERSION_BUMP |
8c578537 |
| Nov 30, 2023 4:15pm |
|
0 |
VERSION_BUMP |
a582d1b9 |
| Oct 6, 2023 12:33am |
|
0 |
VERSION_BUMP |
3db84787 |
| Oct 5, 2023 10:17pm |
|
0 |
VERSION_BUMP |
8923f7c9 |
| Aug 2, 2023 2:59pm |
|
0 |
VERSION_BUMP |
29fdb77e |
| Apr 20, 2023 9:34am |
|
0 |
VERSION_BUMP |
249b6742 |
| Apr 10, 2023 2:05pm |
|
0 |
VERSION_BUMP |
ba54de71 |
|