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.1.0.tar.gz
.
File metadata
Download URL: navis_fastcore-0.1.0.tar.gz
Upload date:
Mar 13, 2025
Size: 764.3 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: maturin/1.8.2
File hashes
Hashes for navis_fastcore-0.1.0.tar.gz
Algorithm
Hash digest
SHA256
d5e2378feb69efd84769d8006008d1d316b815fd4e25dd1348339cdb179934fc
Copy
MD5
018d78620fea1c52f31c236bdff8b219
Copy
BLAKE2b-256
0b8a22f5c3d93368e1f15bfccf249bf93df723cca4d13883b0d5b05909edc67f
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-win_amd64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-win_amd64.whl
Algorithm
Hash digest
SHA256
51d9d5b0ac059e5091e599da8d8bea1a465b7e3949b053a80488d74cb4e50768
Copy
MD5
2add981d14529e11ac212f69a48c3e4c
Copy
BLAKE2b-256
9a8367839b4f5e7db4308ef24b85b14bb8eb3db458859688d25fd508c60d1435
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-win32.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-win32.whl
Algorithm
Hash digest
SHA256
c820ea7eb2408e08415cfe6c66a389a9510d395d0f7add18e23ba269a92269d6
Copy
MD5
7db8729e8624b697a928c0003f6ae255
Copy
BLAKE2b-256
d5cf9654ce8f0f936cddfbd3f85fc7339aa1a019ae9f09ae059c373f6b6efc2a
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
eddd0d51cf998a7e255fb88643bb82efeeefd2104009e2a757484bff53e53e47
Copy
MD5
ada2c725969e098afa8099e2b15d1036
Copy
BLAKE2b-256
cdc1ff43a9d0d890340553858e20c99ec081b0d8e49447f936022a15e8b61e9e
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm
Hash digest
SHA256
7342e6c63700f22f112d8b01d71b5725e100ce66b39499302f2fcd4236e9a88d
Copy
MD5
73d25239a5737e843c53cc71dcba444e
Copy
BLAKE2b-256
5fb294725759be6e0aae8fa7ff4213b47addb5193262ff94786c9426e6fd832c
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm
Hash digest
SHA256
553211d79d6a37bd2594d5e06e944ce730333bc6eb0fe3b2c967494602b7b8bb
Copy
MD5
edd4a683222977bd08d511f2f2fef307
Copy
BLAKE2b-256
3326e1d2c670998d22c0d8e06bd67ce4ee8dfa7a4459dac5e864521fa60521e0
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm
Hash digest
SHA256
f3d07d468a0c52d61cd2b3bacc9275dc00185aec04a6e707362846deb6571774
Copy
MD5
872b60d2442c73d178acf759d3b5dc92
Copy
BLAKE2b-256
9266cfa3bb102938495fe4e32c7a556e79e3ec37aef498329ae815a989d092e3
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
4929258b2fb41c44a382c3fe28de36b3ae0a4478edd96a70ac3a49132b391357
Copy
MD5
299fc0ef84f7d5827c0ce26e50632aef
Copy
BLAKE2b-256
3b4ed9111c5aa04d8da1a15a549fd9de130999f7093297491bd9d911dac12403
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm
Hash digest
SHA256
34ef8e559effa78d7208262196e3b8cbaae60c309ed9d4c27d9d2010bd3f6a4e
Copy
MD5
4c5e329873553514cdf0ec74fdb03831
Copy
BLAKE2b-256
d321b369678733f9de15c3b80b93e36fb5a5f377097ae44eea485270ff70d909
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
33a9f511266644e258f176c13478379e796a29633ab5951d937035417f35cc59
Copy
MD5
23a68fb848adb06f7f532135c1402dfe
Copy
BLAKE2b-256
f4c68f1c46b8fb8fffdab5cca7102aa1eed97c188b34be9c185a03cd88f9d132
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm
Hash digest
SHA256
d8e072bbe63337d0cf8dba1827f4c7132dd3ff0e521c1c73de8e8974a24a9211
Copy
MD5
1fa4bc8c7680c4bbf19d95e398257035
Copy
BLAKE2b-256
8aaea2efc6d6a75c42a7a2aaf137a383c213c4afc06cf16c68dc1ed0c6d3bc37
Copy
See more details on using hashes here.