Installation ============ ``nocad`` requires Python 3.10 or newer and depends on NumPy, SciPy, NetworkX, pandas and matplotlib. .. code-block:: bash pip install nocad Optional extras --------------- .. code-block:: bash pip install "nocad[test]" # pytest pip install "nocad[docs]" # build this documentation pip install "nocad[dev]" # everything, plus ruff, build and twine From source ----------- .. code-block:: bash git clone https://github.com/ComplexSystemsIntelligence/nocad.git cd nocad 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 book/build.sh # needs TeX Live with latexmk, biber and # the raleway, plex and libertinus packages