nmrglue-ng
An independent continuation of nmrglue for processing and working with NMR data in Python.
nmrglue-ng is an independent fork of nmrglue, originally developed by Jonathan J. Helmus and contributors.
The project aims to preserve the simplicity, scientific capabilities, and established API of nmrglue while providing ongoing maintenance, reproducible testing, up-to-date documentation, and a predictable contribution and release process.
Documentation
The stable documentation is available on Read the Docs: nmrglue-ng.readthedocs.io/en/stable/.
Why nmrglue-ng?
nmrglue has provided the NMR community with a lightweight and powerful Python toolkit for reading, writing, converting, processing, and analysing NMR data for more than a decade.
Its broad support for NMR formats and its NumPy-oriented API make it particularly valuable for scientific scripting and interoperability.
nmrglue-ng builds on that work rather than replacing it.
The main goals of this fork are:
preserve compatibility with the established nmrglue API wherever practical;
maintain and test existing NMR file-format support;
fix confirmed bugs and scientific inconsistencies;
provide reproducible test datasets for critical I/O operations;
maintain compatibility with current Python, NumPy, and SciPy releases;
keep packaging and continuous integration up to date;
maintain and continuously build the documentation;
establish a clear process for reviewing contributions as the project grows;
document important scientific and API decisions.
Large API redesigns are explicitly not an initial objective.
Compatibility
Backward compatibility with existing nmrglue code is a primary goal.
Existing code should, whenever possible, continue to work unchanged:
import nmrglue as ng
dic, data = ng.bruker.read("experiment")
The distribution name and Python import name are intentionally distinct:
distribution: nmrglue-ng import: nmrglue
Compatibility cannot be guaranteed indefinitely when correcting scientifically incorrect behaviour. Such changes will be documented, tested, and introduced through an explicit compatibility policy.
Scientific scope
The project retains nmrglue’s established scope, including:
reading and writing NMR data;
vendor and interchange file formats;
conversion between formats;
spectral processing;
unit and axis conversion;
peak picking and fitting;
low-memory access to large datasets.
Scientific correctness and preservation of acquisition and processing metadata are considered part of the public behaviour of the library, not implementation details.
Development priorities
The initial development effort focuses on maintenance rather than redesign.
Reliability
reproducible test fixtures for supported NMR formats;
read/write and conversion round-trip tests;
regression tests for confirmed bugs;
validation of spectral axes and metadata.
Scientific consistency
Particular attention is being given to the relationships between:
observation frequency;
reference frequency;
carrier frequency and offset;
spectral width;
point, Hz, and ppm coordinates;
quadrature and complex-data conventions.
Infrastructure
modern Python packaging;
current Python/NumPy/SciPy compatibility;
Linux, macOS, and Windows CI;
automated documentation builds;
reproducible releases.
File formats
Existing format support will be preserved and progressively strengthened with real and synthetic reference datasets.
Changes to parsers are expected to include regression tests demonstrating the corresponding format convention.
Relationship with upstream nmrglue
nmrglue-ng retains the complete Git history of nmrglue and acknowledges the original authors and all contributors whose work forms the basis of this project.
Where practical, fixes developed here that are applicable to the original nmrglue project may also be proposed upstream through pull requests or reported as issues in the original repository. This may include bug fixes, regression tests, documentation improvements, compatibility updates, and clarifications of scientific or format-specific behaviour.
Before opening an upstream contribution, the proposed change will be reviewed for relevance to the original project, compatibility with its maintenance policy, and consistency with its existing API and scope. Changes that are specific to nmrglue-ng, or that depend on its independent development direction, will remain in this project.
Likewise, useful upstream developments may be incorporated into nmrglue-ng with their original authorship and attribution preserved.
The intention is not to obscure or replace the history of nmrglue, but to continue building on it transparently and, where appropriate, to contribute improvements back to the original project.
Contributions
Contributions are welcome, particularly:
reproducible bug reports;
regression tests;
small NMR datasets that can legally be redistributed for testing;
fixes for file-format readers and writers;
documentation improvements;
scientific validation against vendor software or documented format specifications;
performance improvements accompanied by correctness tests and benchmarks.
Changes affecting scientific conventions or public API semantics may require a short design discussion before implementation.
As the project develops, contribution and maintenance practices may evolve to make it easier for additional maintainers to participate.
Installation
Install nmrglue-ng with pip:
python -m pip install nmrglue-ng
Conda packages are planned after the stable 1.0.0 release. See INSTALL.txt for source and development installation options.
The distribution is named nmrglue-ng, while the Python import remains:
import nmrglue as ng
Citation and attribution
nmrglue-ng is derived from nmrglue, created by Jonathan J. Helmus and contributors.
Users should continue to acknowledge the original nmrglue work where appropriate:
Jonathan J. Helmus and Christopher P. Jaroniec,
Nmrglue: an open source Python package for the analysis of multidimensional NMR data,
Journal of Biomolecular NMR (2013).
A citation specific to nmrglue-ng will be provided if and when an appropriate archival release or publication becomes available.
License
nmrglue-ng is distributed under the BSD 3-Clause License inherited from nmrglue.
The original copyright notices and contributor history are preserved.
See LICENSE.txt for details.
nmrglue-ng is an independent continuation of nmrglue.
Its objective is deliberately conservative: preserve a useful and established NMR toolkit while making its maintenance, testing, documentation, and evolution sustainable.
Metadata
Release files for nmrglue-ng 1.0.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nmrglue_ng-1.0.2.tar.gz | 74.3 MB | With provenance | Details for nmrglue_ng-1.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nmrglue_ng-1.0.2-py3-none-any.whl | Python 3 | none | any | Details for nmrglue_ng-1.0.2-py3-none-any.whl |
Total release size: 74.5 MB
Release files / nmrglue_ng-1.0.2.tar.gz
| Download URL | nmrglue_ng-1.0.2.tar.gz |
|---|---|
| Size | 74.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
041bc67ed1452d639e34e41027ff04877fe09f7923b1fa2ddac29de7cb762ab8
|
|
BLAKE2b-256 checksum How to use checksums |
b4259c8dd1600666706b2c1b99dcfdbae9fab339d9257ab81452c38085072c51
|
| 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 14, 2026.
Transparency logRelease files / nmrglue_ng-1.0.2-py3-none-any.whl
| Download URL | nmrglue_ng-1.0.2-py3-none-any.whl |
|---|---|
| Size | 203.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b7d8d306fc2e7c1808df4b7d6146a4927f6b0edc1e04231d79b4d82b6de0bc21
|
|
BLAKE2b-256 checksum How to use checksums |
292ff336499d6af7c8fb5eaac22e71422e9080730fe39d8f40e301482526163d
|
| 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 14, 2026.
Transparency logSecurity for nmrglue-ng 1.0.2
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
Both files in this release have been uploaded with provenance metadata.
Attestation for nmrglue_ng-1.0.2.tar.gz
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 14, 2026.
Transparency logA 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.