{"library":"pynrrd","title":"pynrrd","description":"Pure Python library for reading and writing NRRD (Nearly Raw Raster Data) files, compatible with NumPy. Version 1.1.3 supports Python >=3.7 and NumPy >=1.21. Release cadence is sporadic, with occasional maintenance updates.","language":"python","status":"active","last_verified":"Mon Apr 27","install":{"commands":["pip install pynrrd"],"cli":null},"imports":["import nrrd; nrrd.read()","import nrrd; nrrd.write()"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import nrrd\nimport numpy as np\n\n# Write a NRRD file\ndata = np.random.rand(10, 10, 10)\nnrrd.write('example.nrrd', data)\n\n# Read a NRRD file\nread_data, header = nrrd.read('example.nrrd')\nprint(header)\n","lang":"python","description":"Basic read/write example using numpy array.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}