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.1.0+abi.2.13.0"
print(n4m.abi_version()) # ABI triple, e.g. (2, 13, 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.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| nirs4all_methods-1.1.0-py3-none-win_amd64.whl | Python 3 | none | Windows x86-64 | Details |
| nirs4all_methods-1.1.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl | Python 3 | none | Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 | Details |
| nirs4all_methods-1.1.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl | Python 3 | none | Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 | Details |
| nirs4all_methods-1.1.0-py3-none-macosx_11_0_universal2.whl | Python 3 | none | macOS 11.0+ universal2 (ARM64, x86-64) | Details |
Total release size: 23.4 MB
Release files / nirs4all_methods-1.1.0-py3-none-win_amd64.whl
| Download URL | nirs4all_methods-1.1.0-py3-none-win_amd64.whl |
|---|---|
| Size | 1.9 MB |
| Tags | Python 3 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
e9340d68109ed85189e19b8c9cb3f7e9025dd0fb238c6be06a4b3257e15e1a66
|
|
BLAKE2b-256 checksum How to use checksums |
b401957d54f73b11558d28e06436a066582fc5cb306022f620cc66fbcdfbe981
|
| 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 26, 2026.
Transparency logRelease files / nirs4all_methods-1.1.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
| Download URL | nirs4all_methods-1.1.0-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 5.7 MB |
| Tags | Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
8d58d692383ad7daa54bfda29b7a7547724f304df4352bda5fb29048ee170867
|
|
BLAKE2b-256 checksum How to use checksums |
d64c8a480a6708a70f5c09bf1ed94611768981d0bbb409c1eb8ecfeefe591a6c
|
| 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 26, 2026.
Transparency logRelease files / nirs4all_methods-1.1.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
| Download URL | nirs4all_methods-1.1.0-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 5.0 MB |
| Tags | Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
93c60e9345bb56599e55fcfbe27497ddf18300a657a05f814fcad63bd027d063
|
|
BLAKE2b-256 checksum How to use checksums |
b45f7bea7f0ba1af8310b9e9be1c09ee151e1258249f63e575d207fa98195fb6
|
| 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 26, 2026.
Transparency logRelease files / nirs4all_methods-1.1.0-py3-none-macosx_11_0_universal2.whl
| Download URL | nirs4all_methods-1.1.0-py3-none-macosx_11_0_universal2.whl |
|---|---|
| Size | 10.8 MB |
| Tags | Python 3 macOS 11.0+ universal2 (ARM64, x86-64) |
|
SHA-256 checksum How to use checksums |
5730706d105efe9aacc042899b7a52b2665fd1188482cb54f899f7c1fd3e3b98
|
|
BLAKE2b-256 checksum How to use checksums |
d71119795f2e40a89cbfd957c14b09f7c80169c34c540d930c64c07cb9b34db5
|
| 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 26, 2026.
Transparency log