Skip to content

pyhf/pyhf-tutorial

Folders and files

NameName
Last commit message
Last commit date
May 1, 2025
Jan 7, 2025
Jan 7, 2025
Jan 7, 2025
Jan 7, 2025
Jan 7, 2025
Apr 7, 2025
Mar 29, 2021
Jan 7, 2025
Jan 7, 2025
Jan 7, 2025
Jan 7, 2025
Jan 9, 2025
Jan 9, 2025
Mar 6, 2023

Repository files navigation

pyhf Tutorial

The tutorial is based off of pyhf v0.7.6

Binder JupyterLite DOI

Deploy Jupyter Book pre-commit.ci status

Setup

Using pixi (recommended)

On any x86 Linux machine or any macOS machine first install pixi and then from the top level of the repository run

pixi install --environment book

Using a manually controlled virtual environment

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

Using pixi

pixi run build

Local virtual environment

make build

Build lock file

To build a uv 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

About

Updating tutorial on pyhf

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages