Installation ============ ``hatvis`` requires Python 3.10 or newer and depends on NumPy, SciPy, pandas, NetworkX, scikit-learn and Matplotlib. .. code-block:: bash pip install hatvis Optional extras --------------- .. code-block:: bash pip install "hatvis[interop]" # HyperNetX, XGI, Hypergraphx converters and Excel input pip install "hatvis[test]" # pytest pip install "hatvis[docs]" # build this documentation pip install "hatvis[dev]" # everything, plus ruff, build and twine From source ----------- .. code-block:: bash git clone https://github.com/ComplexSystemsIntelligence/hatvis.git cd hatvis pip install -e ".[dev]" pytest Building the documentation and the book --------------------------------------- .. code-block:: bash # documentation (executes every gallery example) python docs/build_api_pages.py sphinx-build -b html docs docs/_build/html # book (needs TeX Live with latexmk, biber and the raleway, plex and # libertinus font packages) book/build.sh python book/epub/make_epub.py # EPUB edition (tex4ebook) python book/web/make_web.py # web edition (make4ht, beautifulsoup4)