nirs4all-preflight
Exploratory alpha of the NIRS dataset qualification engine. A thin Python facade calls one Rust core; numerical diagnostics come from the public nirs4all-methods C ABI. Platform wheels contain the Rust C ABI and depend on the matching published nirs4all-methods==1.3.15 wheel for its native Methods C ABI. They do not require the full Python nirs4all or scikit-learn installation.
import json
from nirs4all_preflight import analyze, validate, report_html
with open('dataset.json') as f:
dataset = json.load(f)
print(validate(dataset))
report = analyze(dataset)
with open('report.html', 'w') as f:
f.write(report_html(report))
Inputs must follow the canonical JSON schema shown in the repository examples. Dataset assembly and vendor decoding remain in nirs4all-io and nirs4all-formats. The grouped PLS/PCR validation probe runs through DAG-ML nested selection and is exploratory, as is clustering. Version 0.1.7 does not include calibrated inferential tests, qualified clustering or domain shift. Capabilities and limitations are present in every report.
N4PF_LIBRARY_PATH selects the Rust C ABI library; N4M_LIBRARY_PATH selects a compatible Methods library (ABI 2.20 or newer). Each analysis owns a separate native context. The Python binding does not implement scientific calculations.
Build from a checkout with cargo build --locked --release -p nirs4all-preflight-capi, then python scripts/stage-python.py and python -m build --wheel bindings/python. The release workflow builds and repairs Linux wheels for the manylinux 2.28 profile before testing and publishing them. Linux musl, Windows ARM64, source distributions and other untested profiles are not provided. The Methods owner package controls its native library and dependencies. For an external Methods library use N4M_LIBRARY_PATH or the explicit argument; an external N4M_LIB_PATH alone is rejected.
Metadata
Release files for nirs4all-preflight 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Actions Reset | |||
|---|---|---|---|---|
| nirs4all_preflight-0.1.7-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details for nirs4all_preflight-0.1.7-py3-none-win_amd64.whl |
| nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.28+ x86-64 | Details for nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_x86_64.whl |
| nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64 | Details for nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_aarch64.whl |
| nirs4all_preflight-0.1.7-py3-none-macosx_11_0_x86_64.whl | Python 3 | none | macOS 11.0+ x86-64 | Details for nirs4all_preflight-0.1.7-py3-none-macosx_11_0_x86_64.whl |
| nirs4all_preflight-0.1.7-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details for nirs4all_preflight-0.1.7-py3-none-macosx_11_0_arm64.whl |
Total release size: 18.9 MB
Release files / nirs4all_preflight-0.1.7-py3-none-win_amd64.whl
| Download URL | nirs4all_preflight-0.1.7-py3-none-win_amd64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
627f1b9181761fbec7d565d84b9e1cb43c0bd338a8adafbc3e84ee0af52ab1ab
|
|
BLAKE2b-256 checksum How to use checksums |
9e896834fe5014143862f380b4e016c9d5e16b98b133f0ba828cd186025cc600
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_x86_64.whl
| Download URL | nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_x86_64.whl |
|---|---|
| Size | 4.5 MB |
| Tags | Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
73d7df03dd684f623b6071e8ede53914d2ffac8664827eabaf42dea79e287e47
|
|
BLAKE2b-256 checksum How to use checksums |
16d3d372549dafefdc9c7f8d971c38307334caccf98c5f0a9714d76b2e6e9c4a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_aarch64.whl
| Download URL | nirs4all_preflight-0.1.7-py3-none-manylinux_2_28_aarch64.whl |
|---|---|
| Size | 3.7 MB |
| Tags | Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
7d4f69b7d1935179929028fc57ad061f92560dacd6c93be112b6a7eb8e3847d7
|
|
BLAKE2b-256 checksum How to use checksums |
b5d92292ccc265726916e364237ddc0e64754a2eda33766218d755c040ee7622
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / nirs4all_preflight-0.1.7-py3-none-macosx_11_0_x86_64.whl
| Download URL | nirs4all_preflight-0.1.7-py3-none-macosx_11_0_x86_64.whl |
|---|---|
| Size | 3.8 MB |
| Tags | Python 3 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
481ce2fafc6725fe94dd006f1f2f18d02b65411565d22186248b6c700beef6e8
|
|
BLAKE2b-256 checksum How to use checksums |
24930e0e38f9274f7e0678ceb8d33c9546a6e43fa4260da99701c20822b6a404
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logRelease files / nirs4all_preflight-0.1.7-py3-none-macosx_11_0_arm64.whl
| Download URL | nirs4all_preflight-0.1.7-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 3.5 MB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
005e7e7d2169f473e076503a61e3eb75467855eb931ea6ee95e1182e1dfef92b
|
|
BLAKE2b-256 checksum How to use checksums |
295f8cfeb37aaf64679abe65a6bc276d0a66bc684e86f29df8984df1a3dc6263
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logSecurity for nirs4all-preflight 0.1.7
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.
Full provenance
All 5 files in this release have been uploaded with provenance metadata.
Attestation for nirs4all_preflight-0.1.7-py3-none-win_amd64.whl
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.
Transparency logA 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.