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. .. code-block:: bash pip install easyiec Optional extras --------------- .. code-block:: bash 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 ----------- .. code-block:: bash git clone https://github.com/ComplexSystemsIntelligence/easyiec.git cd easyiec pip install -e ".[dev]" pytest Building the documentation and the book --------------------------------------- .. code-block:: bash 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