Skip to content

boostorg/python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

3e7be69 · Mar 10, 2025
Jan 4, 2021
Feb 2, 2025
Aug 18, 2024
Oct 10, 2024
Aug 18, 2024
Jan 28, 2025
Jan 21, 2021
Mar 10, 2025
Sep 18, 2024
Nov 26, 2000
Oct 8, 2016
Jun 4, 2021
Sep 26, 2012
Jan 4, 2021
Aug 18, 2024
Aug 7, 2020
Oct 7, 2016
Jan 31, 2006

Repository files navigation

logo

Synopsis

Join the chat at https://gitter.im/boostorg/python

Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for:

  • References and Pointers
  • Globally Registered Type Coercions
  • Automatic Cross-Module Type Conversions
  • Efficient Function Overloading
  • C++ to Python Exception Translation
  • Default Arguments
  • Keyword Arguments
  • Manipulating Python objects in C++
  • Exporting C++ Iterators as Python Iterators
  • Documentation Strings

See the Boost.Python documentation for details.

Hint : Check out the development version of the documentation to see work in progress.

Building Test Ubuntu Test OSX Test Windows

While Boost.Python is part of the Boost C++ Libraries super-project, and thus can be compiled as part of Boost, it can also be compiled and installed stand-alone, i.e. against a pre-installed Boost package.

Prerequisites

Build

Run

faber

to build the library.

Test

Run

faber test.report

to run the tests.

Build docs

Run

faber doc.html

to build the documentation.