Differences between revisions 9 and 10
Revision 9 as of 2008-04-22 23:36:48
Size: 901
Editor: 207-118-121-207
Comment:
Revision 10 as of 2008-11-15 14:00:18
Size: 909
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
The GPL'd [http://foss.eepatents.com/trac/AsynCluster/wiki AsynCluster] project contains a package ''svpmc'', which has a module [http://foss.tellectual.com/trac/AsynCluster/browser/projects/AsynCluster/trunk/svpmc/weave.py svpmc.weave]. The ''Weaver'' class in that module provides a convenient API for running C/C++ code with ''weave.inline''. See the [http://foss.tellectual.com/trac/AsynCluster/browser/projects/AsynCluster/trunk/svpmc/sample.py svpmc.sample] module and its companion [http://foss.tellectual.com/trac/AsynCluster/browser/projects/AsynCluster/trunk/svpmc/sample.c C code file] for an example of usage. The GPL'd [[http://foss.eepatents.com/trac/AsynCluster/wiki|AsynCluster]] project contains a package ''svpmc'', which has a module [[http://foss.tellectual.com/trac/AsynCluster/browser/projects/AsynCluster/trunk/svpmc/weave.py|svpmc.weave]]. The ''Weaver'' class in that module provides a convenient API for running C/C++ code with ''weave.inline''. See the [[http://foss.tellectual.com/trac/AsynCluster/browser/projects/AsynCluster/trunk/svpmc/sample.py|svpmc.sample]] module and its companion [[http://foss.tellectual.com/trac/AsynCluster/browser/projects/AsynCluster/trunk/svpmc/sample.c|C code file]] for an example of usage.

The weave package allows the inclusion of C/C++ within Python code. It is part of the larger SciPy package (http://www.scipy.org), but is also available as a stand alone package (http://www.scipy.org/Weave) 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.


CategoryPythonInScience

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

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