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.3.2+abi.2.17.0"
print(n4m.abi_version())  # ABI triple, e.g. (2, 17, 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.3.2

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.3.2
File
nirs4all_methods-1.3.2-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details
nirs4all_methods-1.3.2-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.3.2-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.3.2-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details

Total release size: 24.7 MB

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

Download URL nirs4all_methods-1.3.2-py3-none-win_amd64.whl
Size 2.0 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
5b4585aa35a4504fb3fefd19bc356844330066c58f0d2a9e393150c527b49078
BLAKE2b-256 checksum
How to use checksums
532f7637718b0b62ce9de7f6fcc4f9cc9e0a936a2d6ad7f11a6f9a2db85f3bc2
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 Oct 4, 2026.

Transparency log

Release files / nirs4all_methods-1.3.2-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL nirs4all_methods-1.3.2-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 6.0 MB
Tags Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
c8a8ffe9857ef10b999a2bdbffaf66fda20124648a3735eb5d19b644f2f4a04c
BLAKE2b-256 checksum
How to use checksums
d307291dd269496a5f45759d283fd5ec396b732a00447e1cac403d1431856b5c
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 Oct 4, 2026.

Transparency log

Release files / nirs4all_methods-1.3.2-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL nirs4all_methods-1.3.2-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 5.3 MB
Tags Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
0b1d32b1647b71cb852f43c370842595a3f2e905d13f34a9cfe8659fbf0fb340
BLAKE2b-256 checksum
How to use checksums
0035a1657fdfdcc80e286970158ef8db7e73e237f524e66a4a2794e809f7a2fe
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 Oct 4, 2026.

Transparency log

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

Download URL nirs4all_methods-1.3.2-py3-none-macosx_11_0_universal2.whl
Size 11.4 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
e4f46c0512401083177d02c91344215ccb3d0f80bec5f29ba5fc52939d384809
BLAKE2b-256 checksum
How to use checksums
83e62d1010a0b225d812681fe7498976b64d71d62b172a4bbfe938b34233df13
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 Oct 4, 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