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 2.x only, 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.18.0.tar.gz (573.9 kB view details)

Uploaded Source

Built Distribution

scipy_weave-0.18.0-py2-none-any.whl (552.0 kB view details)

Uploaded Python 2

File details

Details for the file scipy-weave-0.18.0.tar.gz.

File metadata

  • Download URL: scipy-weave-0.18.0.tar.gz
  • Upload date:
  • Size: 573.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for scipy-weave-0.18.0.tar.gz
Algorithm Hash digest
SHA256 9729c67b3c23a58514d0b303e0e7b7c61279e889a9f17457b93351cdc2c400ab
MD5 9a795b11f8021ea9811578413bc73f06
BLAKE2b-256 c6f30c842e1216ef34b69ef91f97f5dbc0fa67418cb39976e2d2d6b1381f3025

See more details on using hashes here.

File details

Details for the file scipy_weave-0.18.0-py2-none-any.whl.

File metadata

  • Download URL: scipy_weave-0.18.0-py2-none-any.whl
  • Upload date:
  • Size: 552.0 kB
  • Tags: Python 2
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for scipy_weave-0.18.0-py2-none-any.whl
Algorithm Hash digest
SHA256 a4b17462658f33c53b2984862ab12f64cc5f50b148c9c2cacd2725d07e69e4aa
MD5 e3fa57f04e72196f10393269fc900913
BLAKE2b-256 b963a58a45da1fd16710ea5d9488f6bcb04bef3244cda07051d944a5988cdd50

See more details on using hashes here.

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