The weave package allows the inclusion of C/C++ within Python code. It is part of the larger SciPy package (, but is also available as a stand alone package ( so that more people can try it out.

The GPL'd AsynCluster project contains a package svpmc, which has a module svpmc.weave. The Weaver class in that module provides a convenient API for running C/C++ code with weave.inline. See the svpmc.sample module and its companion C code file for an example of usage.


weave (last edited 2014-05-14 23:37:06 by DaveKuhlman)

Unable to edit the page? See the FrontPage for instructions.