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