Skip to main content

test docs

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

  1. Install rust
  2. Clone this repository
  3. cd into fastcore-rs/py directory
  4. Create a virtual environment: python3 -m venv .venv
  5. Activate virtual environment: source .venv/bin/activate
  6. Compile via either:
    • maturin develop --release which will compile the extension into the fastcore/ directory
    • maturin build --release to build wheel in /target/wheels
  7. 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

Release files for navis-fastcore 0.12.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for navis-fastcore 0.12.0
File Size Uploaded
navis_fastcore-0.12.0.tar.gz 1.2 MB Details

Built distributions (wheels)

Table of built distributions (wheels) for navis-fastcore 0.12.0
File
navis_fastcore-0.12.0-cp314-cp314t-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 free-threading macOS 11.0+ ARM64 Details
navis_fastcore-0.12.0-cp314-cp314t-macosx_10_12_x86_64.whl CPython 3.14 CPython 3.14 free-threading macOS 10.12+ x86-64 Details
navis_fastcore-0.12.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
navis_fastcore-0.12.0-cp39-abi3-win32.whl CPython 3.9 abi3 Windows x86-32 Details
navis_fastcore-0.12.0-cp39-abi3-pyemscripten_2026_0_wasm32.whl CPython 3.9 abi3 PyEmscripten 2026.0+ WebAssembly Details
navis_fastcore-0.12.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
navis_fastcore-0.12.0-cp39-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.9 abi3 Linux glibc 2.17+ IBM System/390x Details
navis_fastcore-0.12.0-cp39-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.9 abi3 Linux glibc 2.17+ PowerPC 64-le Details
navis_fastcore-0.12.0-cp39-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.9 abi3 Linux glibc 2.17+ ARMv7l Details
navis_fastcore-0.12.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
navis_fastcore-0.12.0-cp39-abi3-manylinux_2_12_i686.manylinux2010_i686.whl CPython 3.9 abi3 Linux glibc 2.12+ x86-32 Details
navis_fastcore-0.12.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
navis_fastcore-0.12.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 26.6 MB

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page