Skip to content

pyhf/pyhf-tutorial

Repository files navigation

pyhf Tutorial

The tutorial is based off of pyhf v0.7.5

Binder JupyterLite DOI

Deploy Jupyter Book pre-commit.ci status

Setup

In a Python virtual environment run the following

python -m pip install --require-hashes --requirement book/requirements.lock

Build

To build the book after setup simply run

make build

Build lock file

To build a pip-compile lock file for local use nox

nox

To build a lock file for deployment use Docker to avoid differences between operating systems with

bash lock.sh

or

nox --session docker

Past tutorials