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

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.14
File Actions
nirs4all_methods-1.3.14-py3-none-win_amd64.whl Python 3 none Windows x86-64 Details for nirs4all_methods-1.3.14-py3-none-win_amd64.whl
nirs4all_methods-1.3.14-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 for nirs4all_methods-1.3.14-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
nirs4all_methods-1.3.14-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl Python 3 none Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details for nirs4all_methods-1.3.14-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
nirs4all_methods-1.3.14-py3-none-macosx_11_0_universal2.whl Python 3 none macOS 11.0+ universal2 (ARM64, x86-64) Details for nirs4all_methods-1.3.14-py3-none-macosx_11_0_universal2.whl

Total release size: 27.3 MB

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

Download URL nirs4all_methods-1.3.14-py3-none-win_amd64.whl
Size 2.2 MB
Tags Python 3 Windows x86-64
SHA-256 checksum
How to use checksums
be43a8d14db8eef579db1c01bf8f75af3939ab6f297c87adba6941a4b7bc7fe2
BLAKE2b-256 checksum
How to use checksums
e08d3f092e7edee2c92f081c7b51587a7a3f2a69390759cf57b8ab2ee3fef69a
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 3, 2026.

Transparency log

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

Download URL nirs4all_methods-1.3.14-py3-none-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 6.6 MB
Tags Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64 Python 3
SHA-256 checksum
How to use checksums
3bc75bf0debe39d20845dd3f0e3f6b43f75278d97dbed3d5774ada8cc8493fed
BLAKE2b-256 checksum
How to use checksums
c97214182af663eec64e5d14e5ef450539a5dc649b584d74dde2c5733227ca34
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 3, 2026.

Transparency log

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

Download URL nirs4all_methods-1.3.14-py3-none-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 5.9 MB
Tags Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64 Python 3
SHA-256 checksum
How to use checksums
b7458f91168357fe42d0aeca6f01935bc9d8b71c8fd5577d1ed8c79e5bb6d9dc
BLAKE2b-256 checksum
How to use checksums
1e7ae6f649b797959adb668483c097ab17cc6b2490d51a3c1d012c54a168feab
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 3, 2026.

Transparency log

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

Download URL nirs4all_methods-1.3.14-py3-none-macosx_11_0_universal2.whl
Size 12.5 MB
Tags Python 3 macOS 11.0+ universal2 (ARM64, x86-64)
SHA-256 checksum
How to use checksums
0436bbedb457f1dff6a87367bcb77614dfcd98cacb3789321bda69919d8aa673
BLAKE2b-256 checksum
How to use checksums
79039f12d0c056745458aed29555347ff40d3a1ce603547b6f6bb645eeddf846
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 3, 2026.

Transparency log

Security for nirs4all-methods 1.3.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.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for nirs4all_methods-1.3.14-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 3, 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.3.14 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