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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: scipy-weave-0.19.0.tar.gz
  • Upload date:
  • Size: 563.7 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.19.0.tar.gz
Algorithm Hash digest
SHA256 eb8f05603ea28612b349bc4c1e1d765a1c4a49950b2c3b74f9be7ddd69ed5e08
MD5 e809db47acf0cc528a197694214f0a7a
BLAKE2b-256 15554acb5a628766b3be22543d3f6d9d1ffe1e1b9e80565201b00f73fcb4b594

See more details on using hashes here.

Provenance

File details

Details for the file scipy_weave-0.19.0-py3-none-any.whl.

File metadata

  • Download URL: scipy_weave-0.19.0-py3-none-any.whl
  • Upload date:
  • Size: 550.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for scipy_weave-0.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 604a5b30b96fb471a52396a7f7b28c2ac8ec0d659c40e19e9aacb8da3fb56166
MD5 62a2df45f29216961ffe01a47310c8ba
BLAKE2b-256 77c7dabf52721a36f387911545c85c5abfd85a0003d53e8e03986461cdbc0e65

See more details on using hashes here.

Provenance

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