Installation
Requirements
Python
>= 3.10numpy >= 1.23h5py >= 3.8
Optional features (extras):
Extra |
Adds |
|---|---|
|
plotting (matplotlib) |
|
VTK export of wavefunctions (pyvista) |
|
symbolic field expressions in |
|
the |
|
the |
|
building this documentation (Sphinx) |
B-spline reconstruction is part of the core package (a bundled pure-Python
igakit.igalib.bsp evaluator); no external igakit is required.
Install
From PyPI (distribution zkit-lib):
pip install zkit-lib # core: numpy, h5py
pip install "zkit-lib[viz,validation]" # with optional features
The latest development version, from GitHub:
pip install "git+https://github.com/dahbiz/zkit.git"
or, from a clone (editable, with optional features):
git clone https://github.com/dahbiz/zkit.git
cd zkit
pip install -e ".[viz,validation]"
The distribution name on PyPI is zkit-lib (zkit is a different
project there); the import name and the command are zkit:
pip install zkit-lib, then import zkit and zkit --help.
Upgrade with pip install --upgrade zkit-lib.
Without installing
export PYTHONPATH=/path/to/zkit/src:$PYTHONPATH
python -m zkit --help
Verify the installation
import zkit
print("version:", zkit.__version__)