Project description
navis-fastcore
fastcore
Python wrappers for navis
.
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.4.tar.gz
.
File metadata
Download URL:
navis_fastcore-0.0.4.tar.gz
Upload date:
Jul 25, 2024
Size: 758.3 kB
Tags: Source
Uploaded using Trusted Publishing? No
Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Hashes for navis_fastcore-0.0.4.tar.gz
Algorithm
Hash digest
SHA256
26ad3307879ba95f366c8d768085a735dee9b3b75a772b9af40ff8853fedd834
Copy
MD5
22bdb76b350254fd4459a3904b593463
Copy
BLAKE2b-256
96af08a422f1f77c09e3977621fe6dbad909060ae7066f78fc3e4e8cb9fc7a04
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-win_amd64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-win_amd64.whl
Algorithm
Hash digest
SHA256
3c28c5d84667381f43c49d330cb935ea81bde98e96b0de8f8a6d9d4de0c5d42f
Copy
MD5
445ac2908d068a4ccecb041d07c9da7c
Copy
BLAKE2b-256
920d3b48092191a21dea43191b1754da472e5a85a79d5021dd2fbc1da344f16e
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-win32.whl
.
File metadata
Download URL:
navis_fastcore-0.0.4-cp39-abi3-win32.whl
Upload date:
Jul 25, 2024
Size: 333.3 kB
Tags: CPython 3.9+, Windows x86
Uploaded using Trusted Publishing? No
Uploaded via: twine/5.1.1 CPython/3.11.8
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-win32.whl
Algorithm
Hash digest
SHA256
1f4286a5d57562d7f21a6ced34617d1d6a352a7d7520a16b355c6315c38b1540
Copy
MD5
1770f447a730dc1404f45eaff8f99bc2
Copy
BLAKE2b-256
3bd3f1d5607ebaa161d59906bf103afc18a84745b4317b3b61c96d3fc091e015
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm
Hash digest
SHA256
70a3973b061495882cc960877fe5f7c921e9d037d9a7730a5d033643609705ff
Copy
MD5
05d7ef17a799471f0fec99a28d9bf649
Copy
BLAKE2b-256
3862496ec63022dfe006ed8582df7cc60a0bdba05a8759b19e4d99680d99fdd9
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Algorithm
Hash digest
SHA256
003bcafe296fc1fe6d7b0937cf44b544db2dd194051c3613c6fe902c1a082427
Copy
MD5
7c618b983f88f82b29cc7e58098e5be3
Copy
BLAKE2b-256
618823cd3733b851c4aa0984781cd00a8fafe9c250b2bb4c92de4d6a74c9aef0
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Algorithm
Hash digest
SHA256
cd8a6447605e6f0619c39cd52877c6934446af2418e6d5357c4a16ae82d3064a
Copy
MD5
4c0690325eb50fb0427c9b8cc19148f0
Copy
BLAKE2b-256
54132f1354f33bd080c3d0634c50f682ee5d187803204183eab15a871f27c01a
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Algorithm
Hash digest
SHA256
53df23ef3d55a1890404d64e0a974c83e4e0862353d1f76d64452d084a8eb395
Copy
MD5
d6f33f5af1e9adc2c8f57683b7d01c45
Copy
BLAKE2b-256
dd9878d0a98ead64085cfda67fddd423bdd0b45c15b33cf64b381cbc03cac2fc
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm
Hash digest
SHA256
ad473d4b3d1c15bf8d31dcd389eec8ee3b6371ba972e5a31b41cf048ec03c249
Copy
MD5
a1a865fba5fd7a3d6962f89475b92038
Copy
BLAKE2b-256
d2c63cab9dc52b84874e2d23fc59f839ea52c73beb1df33c39174a44aa6612cb
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Algorithm
Hash digest
SHA256
2cc836a177246eac8bd0b7644c73bfd0234cdc82f721389f14e679f84aec2ab3
Copy
MD5
5e4e12d76255b1fe9d3f825473181d59
Copy
BLAKE2b-256
537aa9e1c0a85b6f86ea4f3aa3baaad143267123c43ac8e17eb09afd221e60d9
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-macosx_11_0_arm64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-macosx_11_0_arm64.whl
Algorithm
Hash digest
SHA256
999587e4becef89fb437588ae9503e7cebb236f5408eabb48014a289b4677f04
Copy
MD5
375863939cc339e0142892f56b68c9ad
Copy
BLAKE2b-256
19c3bf1987e30f179a8b3b0b337086cf8e2c0f4b551af886ca91fda1eacdfb26
Copy
See more details on using hashes here.
File details
Details for the file navis_fastcore-0.0.4-cp39-abi3-macosx_10_12_x86_64.whl
.
File metadata
File hashes
Hashes for navis_fastcore-0.0.4-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm
Hash digest
SHA256
67558c9ad7d9916ca0dbde549bd951d61995092cdea198e5e5bda461f60cce75
Copy
MD5
db30868319cc59a4c341c96d3eac0083
Copy
BLAKE2b-256
0e5c607b7cea70ce52d9a3375b14a189a2b77689949b9d9fd22cbcb8facc0756
Copy
See more details on using hashes here.