# Boost.Python

### David Abrahams

### Stefan Seefeld

Copyright © 2002-2015 David Abrahams, Stefan Seefeld

Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

### Synopsis

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

The development of these features was funded in part by grants to `Boost Consulting` from the Lawrence Livermore National Laboratories and by the Computational Crystallography Initiative at Lawrence Berkeley National Laboratories.

## Contents

- Tutorial
- Building and Testing
- Reference Manual
- Configuration Information
- Glossary
- Support Resources
- Frequently Asked Questions (FAQs)
- NumPy Extension Documentation

### Articles

Building Hybrid Systems With Boost Python, by Dave Abrahams and Ralf W. Grosse-Kunstleve

Last revised: December 14, 2017 at 00:12:19 GMT |