Skip to content

Installing Kosh via conda

Minimalist version (with HDF5)

Just kosh and hdf5 loaders

conda create -n kosh -c conda-forge h5py numpy "python>3" sqlalchemy six pip networkx llnl-sina
conda activate kosh
git clone https://github.com/LLNL/kosh
cd kosh
pip install .

If you want the image loader you will need

PIL

conda install -n kosh -c conda-forge pillow

If you want to build the documentation you will need

sphinx sphinx-autoapi nbsphinx recommonmark

conda install -n kosh -c conda-forge sphinx sphinx-autoapi nbsphinx recommonmark

If you want the scikit-learn-based transformers you will need

scikit-learn

conda install -n kosh -c conda-forge scikit-learn

if you want to run the tests you will need

pytest

conda install -n kosh -c conda-forge pytest-xdist pytest-cov

if you want to run the notebooks you will need

jupyterlab tqdm ipywidgets nb_conda nb_conda_kernels

conda install -n kosh -c conda-forge tqdm ipywidgets jupyterlab nb_conda nb_conda_kernels
python -m ipykernel install --user --name kosh --display-name "Kosh Environment"

Buffed up version with more loaders and extra but useful packages

This will let you build the documentation

conda create -n kosh -c conda-forge h5py numpy "python>3" sqlalchemy six ipython pip networkx pytest-xdist pytest-cov pyflame jupyterlab flake8 autopep8 pillow coverage tqdm ipywidgets nb_conda nb_conda_kernels scikit-learn llnl-sina mkdocs mkdocstrings-python  mkdocs-jupyter mkdocs-material-extensions mkdocs-material mkdocs-literate-nav mkdocs-gen-files mkdocs-material
pip install mkdocs-glightbox mkdocs-mermaid2-plugin
conda activate kosh
git clone https://github.com/LLNL/kosh
cd kosh
pip install .