Installation

Requirements

npstreams works on Linux, Mac OS X and Windows. It requires Python 3.6+ as well as numpy. scipy is an optional dependency that is only used in tests; however, if SciPy cannot be imported, tests will not fail.

To get access to the npstreams.cuda module, which contains CUDA-enabled routines, PyCUDA must be installed as well.

Install npstreams

npstreams is available on PyPI; it can be installed with pip:

python -m pip install npstreams

npstreams can also be installed with the conda package manager, from the conda-forge channel:

conda config --add channels conda-forge
conda install npstreams

You can install the latest developer version of npstreams by cloning the git repository:

git clone https://github.com/LaurentRDC/npstreams.git

…then installing the package with:

cd npstreams
python setup.py install

Testing

If you want to check that all the tests are running correctly with your Python configuration, type:

python setup.py test