Installation
Create and activate a Python environment:
python -m venv envsource env/bin/activatepip install --upgrade pipInstall the package and its requirements with pip:
pip install -e .Run the code with:
template-pythonOptional extras
Section titled “Optional extras”| Extra | Installs |
|---|---|
test | pytest and coverage |
docs | the notebook runner and griffe for the API reference |
dev | formatters and linters, plus the test and docs extras |
pip install -e ".[dev]"