API

Contents

Welcome to the psweep docs. We hope that you’ll soon loop like us!

API#

Install#

$ pip install psweep

Dev install of this repo:

$ pip install -e .

To install testing tools, use

$ pip install -e ".[test]"

To install docs tools, use

$ pip install -e ".[doc]"

To also install dask tools which we support (dask.distributed Client) but are not hard dependencies, use

$ pip install -e ".[dask]"
# or to install test and dask deps
##$ pip install -e ".[test,dask]"

See also elcorto/samplepkg.

Tests#

# Run in parallel, e.g. use 4 cores
$ pytest -vx -n4