No project description provided
Project description
Shaloop 🚣
Rust optimization to run SHA256 over Numpy arrays.
Development
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
Deploy
Build for release:
docker run --rm -v $(pwd):/io konstin2/maturin build --release -b cffi --manylinux 2014
docker run --rm -v $(pwd):/io konstin2/maturin build --release -b cffi --manylinux 2014 -o dist
If raises an error about some file not found:
docker run --rm -v $(pwd):/io konstin2/maturin build --release -b cffi --manylinux 2014 --no-sdist
Set .pypirc
delete tar.gz (some issue)
python3 -m twine upload --repository testpypi target/wheels/*
-
Numpy and CFFI dependencies.
-
Optimized Rustc compilation parameters.
-
Mac?
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 Distributions
Built Distribution
File details
Details for the file shalooprust-0.2.0_alpha.4-py3-none-manylinux2010_x86_64.whl
.
File metadata
- Download URL: shalooprust-0.2.0_alpha.4-py3-none-manylinux2010_x86_64.whl
- Upload date:
- Size: 739.2 kB
- Tags: Python 3, manylinux: glibc 2.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.3.1.post20200622 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f62eb784a7de4ba3417105fa75a5b8f7ad3946b1f90ff2bedbfb49294a651993 |
|
MD5 | 19fbc3197aa9591d141ae21e3ce041cf |
|
BLAKE2b-256 | dadb306719e64fc2923570eb881f74290f655a8414f472ea94a19d90a0d4328f |