boost-python3
« Back to VersTracker
Description:
C++ library for C++/Python3 interoperability
Type: Formula  |  Latest Version: 1.90.0@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  @boostorg  |  formulae.brew.sh
Category: Developer tools
Tags: c++ python binding library interoperability
Install: brew install boost-python3
About:
Boost.Python3 is a C++ library that provides a seamless bridge between C++ and Python 3. It allows developers to expose C++ classes and functions to Python and embed Python scripts within C++ applications. Its main value is enabling high-performance C++ code to be easily integrated into Python environments or vice versa.
Key Features:
  • Seamless C++ to Python bindings
  • Support for embedding Python in C++
  • Header-only library (no compilation required for the library itself)
  • Exposes complex C++ features like templates and inheritance to Python
Use Cases:
  • Extending Python applications with performance-critical C++ modules
  • Embedding Python scripts as a scripting engine within C++ software
Alternatives:
  • pybind11 – pybind11 is a lighter-weight, modern C++11 header-only alternative that often requires less boilerplate code.
  • Cython – Cython is a superset of Python that compiles to C, often used for writing C extensions rather than binding existing C++ code.
License: BSL-1.0
Dependencies: boost, python@3.14
Bottles available for: arm64_tahoe, arm64_sequoia, arm64_sonoma, sonoma, arm64_linux, x86_64_linux
Version History
Detected Version Rev Change Commit
Sep 11, 2025 1:26pm 0 VERSION_BUMP e7d1e9bd
Dec 17, 2024 3:27pm 1 VERSION_BUMP 7a2df5c3