Install & Compatibility
Where this runs
tested against v1.1.3 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 89.8MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 3.7s · import 0.000s · 86MB
89MB installed
● package 89MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
read
✓ from nrrd import read
✗ import nrrd; nrrd.read()
NRRDHeader
✓ from nrrd import NRRDHeader
NRRDError
✓ from nrrd import NRRDError
Basic read/write example using numpy array.
import nrrd
import numpy as np
# Write a NRRD file
data = np.random.rand(10, 10, 10)
nrrd.write('example.nrrd', data)
# Read a NRRD file
read_data, header = nrrd.read('example.nrrd')
print(header)
Upgrade
Version history
1.1.3latest on PyPI · released Jan 23, 2025
Audit
Dependencies
numpyrequiredRequired for array manipulation.