mpytools is a Python toolkit to manage/read/write catalog and array-type data over multiple processes.
Example notebooks are provided in directory nb/.
Strict requirements are:
- numpy
- mpi4py
Reading/writing fits, hdf5, bigfile, or asdf formats requires respectively:
- fitsio
- h5py
- bigfile
- asdf
Simply run:
python -m pip install git+https://github.com/cosmodesi/mpytools
First:
git clone https://github.com/cosmodesi/mpytools.git
To install the code:
pip install --user
Or in development mode (any change to Python code will take place immediately) (Note the .):
pip install --user -e .
You may want to avoid installing dependencies in your local $HOME (in particular if you load the cosmodesi environment):
pip install --no-deps --user -e .
More information on pip: https://pip.pypa.io/en/stable/cli/pip_install/
mpytools is free software distributed under a BSD3 license. For details see the LICENSE.
nbodykit for recipe for handling of various file formats and MPI array utilities. Edmond Chaussidon for creating this package name.