Extension Building Tools

A number of tools are available to simplify the construction of Python extensions.

Extension Classes

Extension classes, written by Jim Fulton and available at http://www.digicool.com/releases/ExtensionClass/, provide a mechanism for defining extension types that are more class-like. In particular, they can be subclassed in C or Python, and provide better interaction with documentation strings and other aspects of the interpreter.

CXX

The CXX extension, developed by Paul Dubois, simplifies the process of creating extension modules in C++ (http://cxx.sourceforge.net).

pyfort

pyfort, also developed by Paul Dubois, can be used to build Python extension modules from Fortran code. Details are available at http://pyfortran.sourceforge.net ...

Get Python Essential Reference, Second 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.