Skip to main content

Shaloop 🚣‍

Rust optimization to run SHA256 over Numpy arrays.

Installation

pip install shalooprust

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

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

Metadata

Release files for shalooprust 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for shalooprust 0.2.0
File Size Uploaded
shalooprust-0.2.0.tar.gz 15.1 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for shalooprust 0.2.0
File Interpreter ABI Platform
shalooprust-0.2.0-py3-none-manylinux2010_x86_64.whl Python 3 none Linux glibc 2.12+ x86-64 Details

Total release size: 15.2 MB

Release files / shalooprust-0.2.0.tar.gz

Download URL shalooprust-0.2.0.tar.gz
Size 15.1 MB
Tags Source
SHA-256 checksum
How to use checksums
60c47cb4d71c7dc3fe77e6f6a78776f6c1922fb461730463f73c71e181c0a251
BLAKE2b-256 checksum
How to use checksums
d9306f2dc1d382a3f4c76ba45df9bf7c23db249f5e9afe64985cfce8c8e612b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.8.2

Release files / shalooprust-0.2.0-py3-none-manylinux2010_x86_64.whl

Download URL shalooprust-0.2.0-py3-none-manylinux2010_x86_64.whl
Size 132.1 kB
Tags Linux glibc 2.12+ x86-64 Python 3
SHA-256 checksum
How to use checksums
898a1d01dc2f5ef700737bfda199c443b702b8447864f205dc9f5c0b2596f604
BLAKE2b-256 checksum
How to use checksums
b0936daadd66310a39b71b63c8b268c6ee1eb3e60bad02bcd4e32dfa70c5ac85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via maturin/0.8.2
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page