Skip to main content

nirs4all-methods

nirs4all-methods is the full numerical/method engine distribution. The Python distribution name is nirs4all-methods; the import package is n4m, matching the stable libn4m C ABI and n4m_* exported symbols.

The wheel bundles the libn4m shared library, so pip install nirs4all-methods is self-contained — no separate native build is required. The slim pls4all distribution remains available for PLS-focused users; both distributions load the same ABI family.

import n4m
from n4m.estimators.regression.latent import PLS

print(n4m.version())      # project version + ABI, e.g. "1.0.21+abi.2.6.0"
print(n4m.abi_version())  # ABI triple, e.g. (2, 6, 0)

model = PLS(n_components=2).fit(X, y)
pred = model.predict(X)

n4m loads libn4m via ctypes.CDLL and exposes version/ABI helpers, Context, and role-based packages such as n4m.estimators, n4m.transform, n4m.feature_selection, n4m.model_selection, and n4m.augmentation. Estimator-style wrappers live under those role packages; there is no flat n4m.sklearn package in the ABI 2 surface.

Native hyperparameter studies can be checkpointed without Python pickles: checkpoint = optimizer.save() returns portable N4MOPT bytes and Optimizer.load(checkpoint) resumes the exact sequential ask/tell trajectory.

Set N4M_LIB_PATH to point at a development libn4m build when overriding the bundled wheel library.

See https://github.com/GBeurier/nirs4all-methods for documentation.

Metadata

Release files for nirs4all-methods 1.0.21

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-methods 1.0.21
File
nirs4all_methods-1.0.21-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
nirs4all_methods-1.0.21-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details
nirs4all_methods-1.0.21-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details
nirs4all_methods-1.0.21-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details

Total release size: 19.5 MB

Release files / nirs4all_methods-1.0.21-py3-none-win_amd64.whl

Download URL nirs4all_methods-1.0.21-py3-none-win_amd64.whl
Size 1.6 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
cb06dc3e9edc38a75623c3831f9dc56f1f347d6513d1eff076f770eeb3720687
BLAKE2b-256 checksum
How to use checksums
d33676c36cf89c06a4d2151dda0616b5babcc9e87daa0e20e9674df3da8cce57
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Release files / nirs4all_methods-1.0.21-py3-none-manylinux_2_28_x86_64.whl

Download URL nirs4all_methods-1.0.21-py3-none-manylinux_2_28_x86_64.whl
Size 5.4 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
86c4cafe45e9fb258c2f9f21b761f385c070f09004c178cbd01127f6a18338e6
BLAKE2b-256 checksum
How to use checksums
419deb721d960712bb5d6b830b884fbfc0c64aa38c0aa8a78b190e4221ae4926
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Release files / nirs4all_methods-1.0.21-py3-none-manylinux_2_28_aarch64.whl

Download URL nirs4all_methods-1.0.21-py3-none-manylinux_2_28_aarch64.whl
Size 4.3 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
550d8820dc4896b0ddfaa4252f8d3489f8b722faecee32fc0f48b76af60cf6bf
BLAKE2b-256 checksum
How to use checksums
4b3426f5e4bf9c7011c5e52050af0f4397862270aa3e2ebc90d1312ff5ce715f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log

Release files / nirs4all_methods-1.0.21-py3-none-macosx_11_0_universal2.whl

Download URL nirs4all_methods-1.0.21-py3-none-macosx_11_0_universal2.whl
Size 8.2 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
5b3ebcdf9e378ac4cb2035e92f8ff82d6422d3486331b8e6428090c51052a001
BLAKE2b-256 checksum
How to use checksums
ecebedc73263009a7a29485f8efb1724303679974b3a99d7c1bb1365a1b58e1d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Sep 21, 2026.

Transparency log
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