Extension Building Tools

A number of tools are available to simplify the construction of Python extensions. Many of these tools hide all or most of the underlying details of connecting C/C++ to Python. For instance, a tool might generate a Python extension by simply reading a C++ header file or having you write code in a higher-level language. Full coverage of these tools would require a dedicated book. Therefore, only a brief description and links to more information have been provided.

Boost Python Library

The Boost Python Library, created by David Abrahams, provides a tool for wrapping C++ libraries into Python extensions. The library provides a number of advanced features, including support for overloaded functions and operators. Details ...

Get Python: Essential Reference, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.