Project description
navis-fastcore
Re-implementation of navis
core functions in Rust.
Install
We provide precompiled binaries for all major Python versions, CPU architectures and operating systems.
From PyPI :
pip install navis-fastcore
If that fails, try building from source (see below).
Usage
navis-fastcore
itself does not depend on navis
. This is to allow
using fastcore
in libraries other than navis
. Please see the
docs for examples.
navis
will automatically use fastcore
if it is available.
The integration is still work in progress, so for now you
should install navis
from Github to make sure you have the
latest version.
Building from source
Install rust
Clone this repository
cd
into fastcore-rs/py
directory
Create a virtual environment: python3 -m venv .venv
Activate virtual environment: source .venv/bin/activate
Compile via either:
maturin develop --release
which will compile the
extension into the fastcore/
directory
maturin build --release
to build wheel in /target/wheels
To install the Python package either do:
pip install -e .
to install in editable mode
pip install targets/wheels/navis_fastcore....whl
Note that unless you compiled with the --release
flag,
timings will be much slower (up to 10x) than in a release build!
Test
First make sure pytest
is installed:
pip install pytest -U
Then run the test-suite like so:
pytest --verbose -s
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages .
Source Distribution
Built Distributions
File details
Details for the file navis_fastcore-0.0.5.tar.gz
.
File metadata
Download URL:
navis_fastcore-0.0.5.tar.gz
Upload date:
Sep 7, 2024
Size: 759.7 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: maturin/1.7.1
File hashes
Hashes for navis_fastcore-0.0.5.tar.gz
Algorithm
Hash digest
SHA256
8b4ac7a7dfe06ee801607b5c8aefb7b8b38047def24fb0af241c85f550a2e93b
Copy
MD5
c716d0213b4c28d64927e0c5b060f51c
Copy
BLAKE2b-256
591c83514e01a3875ac0cf2a37223de750bfa9af6bcc484658af83d6eb4ec49b
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-win_amd64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-win_amd64.whl
Algorithm
Hash digest
SHA256
4b5b3e48ef9ed49b6ffaeceae426cd97b169f587c6e50eaa40bf00d5879801cb
Copy
MD5
c8ff2e8d8f2ef981e31e9f94abc3503b
Copy
BLAKE2b-256
be1f57a6df708852fb166b123d18a755ba529102d30a0daab4d0bdb2c9ebb5db
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-win32.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-win32.whl
Algorithm
Hash digest
SHA256
4244384323ff2a90d35793b4da17d6db9f96da600746c3071f37632fcb6f9a42
Copy
MD5
869ab16de0a7a65ce74f3067de6b662e
Copy
BLAKE2b-256
a06d99cee64664573f1ef2add87c190ef8c58e8640fd4c1e5ae439ff727e36f4
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
c118f2d6bf3b65b52540621f9b86b0671223366769942d75f2059fc0d01318e5
Copy
MD5
7ab26009a6a899ec441a42f55f9ceb86
Copy
BLAKE2b-256
8c22a146f7146395d7dd0cbf956fa8776609d5d4194db7ff478de03df439191c
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm
Hash digest
SHA256
9f0c309ce4e5da109372f3fa23478363dc722a6e378e69083e8db1486f03a4dc
Copy
MD5
10584ae3438d81ba2e6765e27771da70
Copy
BLAKE2b-256
4d9420028d7ce85d879a5f17137b740295d9c8b2c4b9a802cc6eeaa0b29ad0a9
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm
Hash digest
SHA256
ac07fbed6e96c94bee9d3b029b4d9d10af61ed061de46e48db4f3011ced84d29
Copy
MD5
b008729eca8955e5c48fce0f6cfe9a3a
Copy
BLAKE2b-256
f20aca65ff6667f907001cce7e85389055e1ae7515517e885bdaec5af192e8f1
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm
Hash digest
SHA256
c3029cd3d5224b06e745024a325b07aa09523d4893d945c18a3f5cd02e9c4b01
Copy
MD5
aaba9ff56c726068691f01c8fd416e74
Copy
BLAKE2b-256
5d8d71c5ecff785ac7b54dfc24ad5310d154c7a843741e9cd3a3d8a70d4e48b6
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
8eae8b4f7e85724e2465dcb1fe879da964d1786dd5c6717685136b043c4e2e48
Copy
MD5
129f7a4db2a9d47819965f03435f8535
Copy
BLAKE2b-256
a3b9ed576aab225e38b7daef2679893feaee4b6ff06860a2927571e9c8250966
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm
Hash digest
SHA256
645859b002ebb5a80bfa2641e10bb8f0d04c54e41c3b9b65b77e7359b97a32d4
Copy
MD5
67f83edd6bbfc2941b6374cd6c0d8c54
Copy
BLAKE2b-256
5a5e017fc1e62f8e0a7509336f9f15076546c07cc89d0be559a711fdf80b61f6
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-macosx_11_0_arm64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
4624bc63a6ec9ef4214695be8ee51c9ac27a97fa5aa5a606c37d2fa6d33d577e
Copy
MD5
da05355bdb78c44acf7272483456cd37
Copy
BLAKE2b-256
0bbe7561d74cf1a7f42351faeac50f43113ddb850febccaa8b47b278eb41d025
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.5-cp39-abi3-macosx_10_12_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.5-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm
Hash digest
SHA256
c3a40f7db9b89e5243f5562264178db91d96e3ba8df5e1cf0e2af5665dc43b19
Copy
MD5
3e69d4f313e6ab0d43344c8f05f7fe6b
Copy
BLAKE2b-256
fde6b28ab5593cc9961c29628bae7511a67deb189f571e2a596d3611534c2bcd
Copy
See more details on using hashes here.