npdb: Large Parallelized NumPy Arrays

This is the official npdb documentation.

Overview

npdb is an implementation of large disk-stored NumPy-compatible n-dimenstional arrays that may exceed available memory. npdb implements the core multi-dimensional array class npdb.dbarray, which supports persistent binary storage and distributed batch processed operations. npdb.dbarray supports a subset of the numpy.ndarray interface.

Currently, npdb supports the following subset of the NumPy interface:

  • Basic indexing

npdb extends NumPy’s capabilities with the folloiwng:

  • Support for disk-stored arrays that exceed the size of memory
  • Native parallelization of most methods for both speed and memory constraints

Basics of npdb

In this section, you will learn...

Reference Manual

This is the official npdb API reference manual. npdb supports a NumPy-like interface for parallelized operations on n-dimensional arrays on disk.

Code Index

Reference

Multi-Dimensional Array (dbarray)

npdb.dbarray is the core array class of the npdb package. It implements an n-dimensional array stored on disk.

npdb.dbarray

Installation Guide

You can install npdb using pip by running:

$ pip install npdb

If unittest is installed, you can then test npdb by running:

$ python -m unittest discover

License

MIT License

Copyright (c) 2017 Ryan Wallace

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.