Skip to main content

No project description provided

Project description

Shaloop 🚣‍

Rust optimization to run SHA256 over Numpy arrays.

Installation

pip install shaloop

Development instructions

Build, install and test locally

Activate a new virtual env, install Maturin and a Rust toolchain. Run:

maturin develop --release -b cffi

The Python package is now installed. Note: clean your PYTHONPATH to remove the package if necessary.

Test and benchmark

python test/test_shaloop.py
python test/test_shaloop_512.py

If you have the old C version of Shaloop installed, you can run a benchmark with:

python test/benchmark.py

Build and publish

docker run --rm -v $(pwd):/io konstin2/maturin publish -b cffi --manylinux 2010 -u __token__ -p pypi-your-token

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

shaloop-0.2.1_alpha.1.tar.gz (15.1 MB view hashes)

Uploaded Source

Built Distribution

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