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.7.tar.gz
.
File metadata
Download URL:
navis_fastcore-0.0.7.tar.gz
Upload date:
Sep 16, 2024
Size: 761.4 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: maturin/1.7.1
File hashes
Hashes for navis_fastcore-0.0.7.tar.gz
Algorithm
Hash digest
SHA256
2eef5c655318b99597e898105d90f7903d0fb05d86e862914252574f14c62a39
Copy
MD5
8f5907b06861620f26aed53a561b8e9b
Copy
BLAKE2b-256
15ddfa02783a0c9f9c7c43b6b3f600290d2ca2df99805cb5ecde3311aa991d88
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-win_amd64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-win_amd64.whl
Algorithm
Hash digest
SHA256
76094b7dc4afb8a0014309e5126b9bc0ec12c7682b6533cb5501bb92e155599d
Copy
MD5
59bd34a2690ea2da58309fb7c2a7f7d6
Copy
BLAKE2b-256
a9f510580c5543b52d9f1da7c29f60dee4440644a679457add3f49dacf971a3d
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-win32.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-win32.whl
Algorithm
Hash digest
SHA256
6d7108a48a298145c6860ee0f0ed415b707db27eaec97588823b11997e41e0d2
Copy
MD5
4927b22780d1d4fc6f7c6c2bce3b706b
Copy
BLAKE2b-256
9742641ef550e4f35185ce3cd913c04b3e8ab6705ca572a4a39e41ad6d496455
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
c1abf1ec4529012178eaad16bc3a7764c8880cda72ed64cc1bba2c58b8e30c91
Copy
MD5
a519a72ddf589c6fe369b7c97afd4a8f
Copy
BLAKE2b-256
e9c2759d0570f3941db8d549174cd1d0d0ad5d4dea53d57bea88f94df9752099
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm
Hash digest
SHA256
19e75656f2e0c512f8ec0557cfbd8f4596b94d4bf0854170bcc8f50dd4205e28
Copy
MD5
8a9cd64237223e6c58a6cb2050698d83
Copy
BLAKE2b-256
235f2ca79303d1fc482a7599cbb3fe7cbcc12f8c9575f546308b9816b0c6acc6
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm
Hash digest
SHA256
580c918c0878dfd4d786cf817d83670122c8f0a4e91edcec84aaa452d24ace2d
Copy
MD5
69e85fa1e1b887efa19ecb6e7fb82ee2
Copy
BLAKE2b-256
23f190cc963315903981971c020c061e50da4a3d970be59bffc65b4c0ee45139
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm
Hash digest
SHA256
70f9369ced300927bece7dd345bece50fd86b27cef5bf5ad19eb0f9c7a8e3e0a
Copy
MD5
c17561debd2f0af6fc298ca2a935cb60
Copy
BLAKE2b-256
72c6605aae399cc38153248408de6fa402ac1312ad999231ec922b7dac60ab7e
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
aa9022ae4863efd5b4005e534922bdf2c3b7591761f0fe8f17615b7895fc538f
Copy
MD5
35e27a32a2dd79174a69ac4ae5ff8b12
Copy
BLAKE2b-256
7e7d0eb34db1d933a890e2e55497ecfe540cee11e2404c364988e5cb541edd80
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm
Hash digest
SHA256
ade9a44251641cc132d098ecbc39b4bb8f90b1fa3f73ce6e404d007f29990577
Copy
MD5
16e82240e3b80d8e89c5217c867fadf0
Copy
BLAKE2b-256
96dfcb3c0f8464bf89a80825db9af73c4d2bd25482761f89fd3dda5598ac7714
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-macosx_11_0_arm64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
409e93752762cc9524450e2af2b28bec04d717e9c780cb7c21806cd4d6635a13
Copy
MD5
a89b16d547222ea40812d97642a45831
Copy
BLAKE2b-256
542f2dd6d0da4de38b244b3ff08ce9f3bbd6f2767deb7be50b742f58cede9a19
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.7-cp39-abi3-macosx_10_12_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.7-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm
Hash digest
SHA256
a8efbc3226472d0d1b9bcfe41b0e6c381ec1da52f8a1ffae7d714414f55d7ee7
Copy
MD5
a43be673f6e51520b9d862b4652469fe
Copy
BLAKE2b-256
f77fb4c2de8ed06090cec2f0bd50e2864d90e97e6e6d5379282a0af6fe4bfbc1
Copy
See more details on using hashes here.