Installation#
easyiec requires Python 3.10 or newer and depends on NumPy, SciPy,
matplotlib, pandas, NetworkX and Pillow. The API clients of the language models
use only the standard library.
pip install easyiec
Optional extras#
pip install "easyiec[notebook]" # ipywidgets for the Jupyter/Colab gallery
pip install "easyiec[ml]" # scikit-learn (t-SNE maps) and scikit-image (photo)
pip install "easyiec[all]" # all of the above
pip install "easyiec[dev]" # everything, plus pytest, ruff, build and twine
From source#
git clone https://github.com/ComplexSystemsIntelligence/easyiec.git
cd easyiec
pip install -e ".[dev]"
pytest
Building the documentation and the book#
python docs/build_api_pages.py
sphinx-build -b html docs docs/_build/html # executes every gallery example
python tools/benchmark.py # the benchmark of the book (about an hour)
book/build.sh # needs TeX Live with latexmk, biber and
# the raleway, plex and libertinus packages