Skip to main content

No project description provided

Project description

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

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

shalooprust-0.2.0.tar.gz (15.1 MB view details)

Uploaded Source

Built Distribution

shalooprust-0.2.0-py3-none-manylinux2010_x86_64.whl (132.1 kB view details)

Uploaded Python 3 manylinux: glibc 2.12+ x86-64

File details

Details for the file shalooprust-0.2.0.tar.gz.

File metadata

  • Download URL: shalooprust-0.2.0.tar.gz
  • Upload date:
  • Size: 15.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/0.8.2

File hashes

Hashes for shalooprust-0.2.0.tar.gz
Algorithm Hash digest
SHA256 60c47cb4d71c7dc3fe77e6f6a78776f6c1922fb461730463f73c71e181c0a251
MD5 8f01e1074851dd6f881d109c1542e942
BLAKE2b-256 d9306f2dc1d382a3f4c76ba45df9bf7c23db249f5e9afe64985cfce8c8e612b3

See more details on using hashes here.

File details

Details for the file shalooprust-0.2.0-py3-none-manylinux2010_x86_64.whl.

File metadata

File hashes

Hashes for shalooprust-0.2.0-py3-none-manylinux2010_x86_64.whl
Algorithm Hash digest
SHA256 898a1d01dc2f5ef700737bfda199c443b702b8447864f205dc9f5c0b2596f604
MD5 7bb18c6e5b04e11338e1aa46d75f37f7
BLAKE2b-256 b0936daadd66310a39b71b63c8b268c6ee1eb3e60bad02bcd4e32dfa70c5ac85

See more details on using hashes here.

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