All Projects → scipy → weave

scipy / weave

Licence: other
Weave - tools for including C/C++ code within Python code.

Programming Languages

C++
36643 projects - #6 most used programming language
python
139335 projects - #7 most used programming language
Makefile
30231 projects
c
50402 projects - #5 most used programming language

Weave provides tools for including C/C++ code within Python code. Inlining C/C++ code within Python generally results in speedups of 1.5x to 30x over algorithms written in pure Python.

Weave is the stand-alone version of the deprecated Scipy submodule scipy.weave. It is Python 2.x only, and is provided for users that need new versions of Scipy (from which the weave submodule may be removed) but have existing code that still depends on scipy.weave. For new code, users are recommended to use Cython.

To install Weave, use of pip is recommended:

pip install weave

To run the tests:

python2 -c "import weave; weave.test('full')"
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].