Skip to content

Installation

Create and activate a Python environment:

Terminal window
python -m venv env
source env/bin/activate
pip install --upgrade pip

Install the package and its requirements with pip:

Terminal window
pip install -e .

Run the code with:

Terminal window
template-python
ExtraInstalls
testpytest and coverage
docsthe notebook runner and griffe for the API reference
devformatters and linters, plus the test and docs extras
Terminal window
pip install -e ".[dev]"