###  | # Boost.Python ## Index | Search Powered

## Synopsis

Welcome to version 2 of Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The new version has been rewritten from the ground up, with a more convenient and flexible interface, and many new capabilities, including 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 Introduction
Building and Testing
Reference Manual
Suites:
  - Pickle
  - Indexing
Configuration Information
Known Working Platforms and Compilers
Definitions
Projects using Boost.Python
Support Resources
Frequently Asked Questions (FAQs)
Pyste (Boost.Python code generator)
Internals Documentation
News/Change Log
TODO list
LLNL Progress Reports
Acknowledgments

## Articles

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

Revised 26 August, 2003

© Copyright Dave Abrahams 2002-2003.