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
cdintofastcore-rs/pydirectory- Create a virtual environment:
python3 -m venv .venv - Activate virtual environment:
source .venv/bin/activate - Compile via either:
maturin develop --releasewhich will compile the extension into thefastcore/directorymaturin build --releaseto build wheel in/target/wheels
- To install the Python package either do:
pip install -e .to install in editable modepip 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
Metadata
Release files for navis-fastcore 0.13.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| navis_fastcore-0.13.1.tar.gz | 1.3 MB | Without provenance | Details for navis_fastcore-0.13.1.tar.gz |
Built distributions (wheels)
Total release size: 27.4 MB
Security for navis-fastcore 0.13.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.