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.4 series (>=1.4.1,<1.5) 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.2.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). 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.2.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.2.0
File Actions
nirs4all_preflight-0.2.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nirs4all_preflight-0.2.0-py3-none-win_amd64.whl
nirs4all_preflight-0.2.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for nirs4all_preflight-0.2.0-py3-none-manylinux_2_28_x86_64.whl
nirs4all_preflight-0.2.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for nirs4all_preflight-0.2.0-py3-none-manylinux_2_28_aarch64.whl
nirs4all_preflight-0.2.0-py3-none-macosx_11_0_x86_64.whl Python 3 none macOS 11.0+ x86-64 Details for nirs4all_preflight-0.2.0-py3-none-macosx_11_0_x86_64.whl
nirs4all_preflight-0.2.0-py3-none-macosx_11_0_arm64.whl Python 3 none macOS 11.0+ ARM64 Details for nirs4all_preflight-0.2.0-py3-none-macosx_11_0_arm64.whl

Total release size: 18.9 MB

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

Download URL nirs4all_preflight-0.2.0-py3-none-win_amd64.whl
Size 3.5 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
e05e4a0e890d9e358d606fd63fa6ebaec60693ab6ce76bcd6d48ab264627dc6b
BLAKE2b-256 checksum
How to use checksums
a452c418b7994256febc108cc769c0bcdd95c5fe1cd5b5c693453da1e7b24b45
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 18, 2026.

Transparency log

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

Download URL nirs4all_preflight-0.2.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
3233c7b379aef39b221f283d8ae120f1b7737c8f36efb1fc3e49512ebbf7a05a
BLAKE2b-256 checksum
How to use checksums
195f939009c0d0fb6ae1c7028caee7a5db2ff4fa0cab4d893a7daf4ab15211b4
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 18, 2026.

Transparency log

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

Download URL nirs4all_preflight-0.2.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
318f52695ea9a7cc8c0431cd2a8d5e13cc1e5ebf7f9847900545e7d000f978dd
BLAKE2b-256 checksum
How to use checksums
08accc503ff0b9d395221a50c0b9738aae45b3522409b3547f901831ffe6c691
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 18, 2026.

Transparency log

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

Download URL nirs4all_preflight-0.2.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
399047b3945255f4b5f0bb15458c72f9323617767986278b8f8d5037ab45eac7
BLAKE2b-256 checksum
How to use checksums
5546f66bb403dcfc01bcaa3f5b8a31e9a73100aab02fda34a0f06b86a84b708e
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 18, 2026.

Transparency log

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

Download URL nirs4all_preflight-0.2.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
b0db759600b3013715c7b2ee3952704d2b13386d2247b5b98ed569e60ce9d063
BLAKE2b-256 checksum
How to use checksums
267a5e6c2ba34dc52851c0d275d4ad01a0e9d038d4dcf4081669566f1c0186ae
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 18, 2026.

Transparency log

Security for nirs4all-preflight 0.2.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.2.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 18, 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