Skip to main content

scipy-weave: a C++ compiler for Python 2.

Project description

scipy-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.

scipy-weave is the stand-alone version of the removed SciPy submodule scipy.weave. It is Python 3.x only (see versions <0.19.0 for Python 2.6-2.7 support), and is provided for users that need versions of SciPy from which the weave submodule has been removed but have existing code that still depends on scipy.weave. For new code, users are recommended to use Cython.

To install scipy-weave, use of pip is recommended:

pip install scipy-weave

Note that the import name for scipy-weave is weave. To run the tests:

python2 -c "import weave; weave.test('full')"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

scipy-weave-0.19.0.tar.gz (563.7 kB view hashes)

Uploaded Source

Built Distribution

scipy_weave-0.19.0-py3-none-any.whl (550.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page