Installation#

kivi requires Python 3.10 or newer, NumPy 1.24 or newer and pandas 2.0 or newer. pip installs NumPy and pandas automatically. From kivi 1.0, a minimum version rises only in a minor release, announced in the notes of the release before; see Compatibility.

Install the latest release:

python -m pip install kivi

Install the development version directly from the repository:

python -m pip install "git+https://github.com/gchensy/kivi"

Clone the repository and install it from the checkout:

git clone https://github.com/gchensy/kivi.git
cd kivi
python -m pip install .

Check the installed version:

python -c "import kivi; print(kivi.__version__)"

The charts of kivi.plotting need matplotlib 3.7 or newer. Install it together with kivi through the plot extra; the other modules never import matplotlib.

python -m pip install "kivi[plot]"

To work on kivi itself, use an editable install with the test and documentation dependencies. See Development.

Note

The 0.2.x releases have a different API. Read Migration guide before upgrading existing code.