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.1.tar.gz
(15.1 MB
view hashes)
Built Distribution
Close
Hashes for shaloop-0.2.1_alpha.1-py3-none-manylinux1_x86_64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e7d3f7abaee8959f6c4675b9cfbf3bf019e5b231d416894798699119741c988b |
|
MD5 | d997dc6b526cdc840fc00052afd9e5a1 |
|
BLAKE2b-256 | 5b75525f768539b24aa8cc4ba567968d99049e70ccd638614e36a9616638a4ff |