Skip to main content

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 a published nirs4all-methods wheel of the tested 1.5 series (>=1.5.0,<1.6) 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.3.0 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; spike and jump events need Methods 1.4.1 or newer, and corrected wide PCA scores need Methods 1.5.0 or newer). Explicit overrides retain the selected backend version in the report. 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.3.0

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

Built distributions (wheels)

Table of built distributions (wheels) for nirs4all-preflight 0.3.0
File Actions
nirs4all_preflight-0.3.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nirs4all_preflight-0.3.0-py3-none-win_amd64.whl
nirs4all_preflight-0.3.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for nirs4all_preflight-0.3.0-py3-none-manylinux_2_28_x86_64.whl
nirs4all_preflight-0.3.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for nirs4all_preflight-0.3.0-py3-none-manylinux_2_28_aarch64.whl
nirs4all_preflight-0.3.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for nirs4all_preflight-0.3.0-py3-none-macosx_11_0_x86_64.whl
nirs4all_preflight-0.3.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for nirs4all_preflight-0.3.0-py3-none-macosx_11_0_arm64.whl

Total release size: 18.9 MB

Release files / nirs4all_preflight-0.3.0-py3-none-win_amd64.whl

Download URL nirs4all_preflight-0.3.0-py3-none-win_amd64.whl
Size 3.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
4ac5d5f4d62877e6d977cf72d9e7b54e1982be8cf56704f1944542249c7f99db
BLAKE2b-256 checksum
How to use checksums
0e156ce2bf60345504ddf1b744cf00182ae61418beeb7853861ee02ca7171c33
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 19, 2026.

Transparency log

Release files / nirs4all_preflight-0.3.0-py3-none-manylinux_2_28_x86_64.whl

Download URL nirs4all_preflight-0.3.0-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
e41a639e235ff6a174958020d8ffebaa08a399350ab757aa516af43e05081ef4
BLAKE2b-256 checksum
How to use checksums
97d0f03ab7a12076af278838dea9cf1f72826e9eaf8642d17eedad31ea83746d
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 19, 2026.

Transparency log

Release files / nirs4all_preflight-0.3.0-py3-none-manylinux_2_28_aarch64.whl

Download URL nirs4all_preflight-0.3.0-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
bd2cb208dd3f78f433700604de38322e29da1aeae8211f04859397fe0e9307cc
BLAKE2b-256 checksum
How to use checksums
4220bc4bc41cd1e79e2d89d5e92bf1ac8527a032bfa2a6a9f467b1eee2e33e17
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 19, 2026.

Transparency log

Release files / nirs4all_preflight-0.3.0-py3-none-macosx_11_0_x86_64.whl

Download URL nirs4all_preflight-0.3.0-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
2ab36b0959f402e2a36d702239982fd19a93e4927c0fc6df66965f5006f848ae
BLAKE2b-256 checksum
How to use checksums
6a22f0b485e06b337efb2be20ec87ccec323c6d4eabf90d3d79c83aa87f72154
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 19, 2026.

Transparency log

Release files / nirs4all_preflight-0.3.0-py3-none-macosx_11_0_arm64.whl

Download URL nirs4all_preflight-0.3.0-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
02a7ac4e820797b3cea30d80d858093212f7efc1ad545b87faf3f87c5763312c
BLAKE2b-256 checksum
How to use checksums
f5150cf0a02a89cdaa86c28ce42b1265d6b9ffaa82fecd174fa60a89f1a6e1e7
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 19, 2026.

Transparency log

Security for nirs4all-preflight 0.3.0

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.

Select from 5 files

Attestation for nirs4all_preflight-0.3.0-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 19, 2026.

Transparency log

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.

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