Skip to content

cosmodesi/mpytools

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mpytools

mpytools is a Python toolkit to manage/read/write catalog and array-type data over multiple processes.

Example notebooks are provided in directory nb/.

Requirements

Strict requirements are:

  • numpy
  • mpi4py

Reading/writing fits, hdf5, bigfile, or asdf formats requires respectively:

  • fitsio
  • h5py
  • bigfile
  • asdf

Installation

pip

Simply run:

python -m pip install git+https://github.com/cosmodesi/mpytools

git

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/

License

mpytools is free software distributed under a BSD3 license. For details see the LICENSE.

Credits

nbodykit for recipe for handling of various file formats and MPI array utilities. Edmond Chaussidon for creating this package name.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •