Installation#

ktch is available on PyPI and conda-forge.

From PyPI#

pip install ktch

From conda-forge#

conda install -c conda-forge ktch

Development Installation#

For development, ktch uses uv as the package manager.

git clone https://github.com/noshita/ktch.git
cd ktch
uv sync

To run tests:

uv run pytest --benchmark-skip

To build documentation:

cd doc
uv run make html

Dependencies#

ktch requires:

  • Python >= 3.9

  • NumPy

  • SciPy

  • scikit-learn

  • pandas

Optional Dependencies#

Visualization (pip install ktch[plot])#

  • matplotlib

  • seaborn

  • plotly

Remote Datasets (pip install ktch[data])#

  • pooch — on-demand downloading and local caching of remote datasets

  • Pillow — image loading for image-type datasets

You can install multiple extras at once:

pip install ktch[data,plot]