Metadata-Version: 2.1
Name: npy-append-array
Version: 0.9.3
Summary: Allows to create Numpy `.npy` files that are larger than the main memory
Home-page: https://github.com/xor2k/npy_append_array
Author: Michael Siebert
Author-email: michael.siebert2k@gmail.com
License: UNKNOWN
Description: # NpyAppendArray
        
        Allows to create Numpy `.npy` files that are larger than the main memory of the
        machine by appending on the zero axis. The file can then be read with
        `mmap_mode="r"`.
        
        ```python
        from npy_append_array import NpyAppendArray
        import numpy as np
        
        arr1 = np.array([[1,2],[3,4]])
        arr2 = np.array([[1,2],[3,4],[5,6]])
        
        filename='out.npy'
        
        # line may be removed, still works correctly if filename does not exist
        np.save(filename, arr1)
        
        npaa = NpyAppendArray(filename)
        npaa.append(arr2)
        npaa.append(arr2)
        npaa.append(arr2)
        
        data = np.load(filename, mmap_mode="r")
        
        print(data)
        ```
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
