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.11

  • NumPy >= 2.0

  • SciPy >= 1.15

  • scikit-learn >= 1.5

  • pandas >= 3.0 (with PyArrow)

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]