Size: 909
Comment: converted to 1.6 markup
|
← Revision 12 as of 2018-03-06 21:02:12 ⇥
Size: 917
Comment: Updated weave link. Note that all links in the 2nd paragraph are dead, too as the AsynCluster package itself seems to be.
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
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 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 (https://pypi.python.org/pypi/weave) so that more people can try it out. |
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 (https://pypi.python.org/pypi/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.