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.5.0+abi.2.24.0"
print(n4m.abi_version())  # ABI triple, e.g. (2, 24, 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.5.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-methods 1.5.0
File Actions
nirs4all_methods-1.5.0-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nirs4all_methods-1.5.0-py3-none-win_amd64.whl
nirs4all_methods-1.5.0-py3-none-manylinux_2_28_x86_64.whl Python 3 none Linux glibc 2.28+ x86-64 Details for nirs4all_methods-1.5.0-py3-none-manylinux_2_28_x86_64.whl
nirs4all_methods-1.5.0-py3-none-manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.28+ ARM64 Details for nirs4all_methods-1.5.0-py3-none-manylinux_2_28_aarch64.whl
nirs4all_methods-1.5.0-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for nirs4all_methods-1.5.0-py3-none-macosx_11_0_universal2.whl

Total release size: 50.0 MB

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

Download URL nirs4all_methods-1.5.0-py3-none-win_amd64.whl
Size 3.4 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
786ba8fb4665c01a71b10ddd473838907dc6fe21089e063a478de651d74e999e
BLAKE2b-256 checksum
How to use checksums
4c7dd1f6a95ab79b123bdb8eeff110e888b66251f942bd667204ccab9269dd22
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_methods-1.5.0-py3-none-manylinux_2_28_x86_64.whl

Download URL nirs4all_methods-1.5.0-py3-none-manylinux_2_28_x86_64.whl
Size 9.6 MB
Tags Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
520bcbeed49f3217350fc83c5cfb691fc7b0549d5698e94ff91ce4480dd0d718
BLAKE2b-256 checksum
How to use checksums
76d5b13f199d9de70e259ae1d3aca7bc25888e8634cd28d61b5acdc0cf8ff4bb
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_methods-1.5.0-py3-none-manylinux_2_28_aarch64.whl

Download URL nirs4all_methods-1.5.0-py3-none-manylinux_2_28_aarch64.whl
Size 8.4 MB
Tags Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
fc62d372724dfac938b1685983e4d5a66cfa744f7fae3e2aaed7a5f4aab3dba0
BLAKE2b-256 checksum
How to use checksums
2309ac8cf712d88b1e03473f5a490a93afe95b60d2b7f755f07630f3d0e95668
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_methods-1.5.0-py3-none-macosx_11_0_universal2.whl

Download URL nirs4all_methods-1.5.0-py3-none-macosx_11_0_universal2.whl
Size 28.8 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
5d587c36af2556bdcbe1ac102182d247c29b8453db5e3525d4f06e08fabfb0bc
BLAKE2b-256 checksum
How to use checksums
65d3d78730a45dc02a5d3214da6697b1b966931fe4f6e44f2f1b1eb9871f1098
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-methods 1.5.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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for nirs4all_methods-1.5.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.

Release history Release notifications | RSS feed

This release

1.5.0 This release

4 release files Full provenance

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