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
Release history Release notifications | RSS feed
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.7.tar.gz
(15.1 MB
view hashes)
Built Distributions
Close
Hashes for shaloop-0.2.1_alpha.7-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1c33d06a598a2d2e5dbba08e716797beb23523895c7f66397d9400329d336371 |
|
MD5 | 2d8bd8c5ba7ee7611feb366fb15b443f |
|
BLAKE2b-256 | 1bde0120b0980876524420e87265f18a608980f589936183103e90907a249712 |
Close
Hashes for shaloop-0.2.1_alpha.7-py3-none-macosx_10_7_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 06c1f2a8e0d3d617552cbeb6c777e686dca7e82bf3d6207ed65553db247250c3 |
|
MD5 | 88115794782309748f287552eea81a31 |
|
BLAKE2b-256 | 9d1bdd13ff55235d04da49e0ca54b6797ff6788f13ed2346929093f5d4e9cdab |