pyhf 0.7.0


pure-Python HistFactory implementation with tensors and autodiff

pure-Python HistFactory implementation with tensors and autodiff

Stars: 230, Watchers: 230, Forks: 69, Open Issues: 373

The scikit-hep/pyhf repo was created 4 years ago and was last updated 2 weeks ago.
The project is popular with 230 github stars!

How to Install pyhf

You can install pyhf using pip

pip install pyhf

or add it to a project with poetry

poetry add pyhf

Package Details

Lukas Heinrich, Matthew Feickert, Giordon Stark
GitHub Repo


  • Scientific/Engineering
  • Scientific/Engineering/Physics
No  pyhf  pypi packages just yet.


A list of common pyhf errors.

Code Examples

Here are some pyhf code examples and snippets.

GitHub Issues

The pyhf package has 373 open issues on GitHub

  • feat: Alternative Schema Locations
  • Documentation for parameter-related properties of _ModelConfig
  • pyhf+textual for exploring workspaces / patchsets interactively?
  • Explore pyodide for pyhf
  • Track and update changes to percentile in PyTorch and JAX backends
  • Expose base_uri in utils.validate
  • Use Rich for formatting summary output

See more issues on GitHub

Related Packages & Articles

datasets 2.8.0

HuggingFace community-driven open-source library of datasets

thinc 8.1.6

A refreshing functional take on deep learning, compatible with your favorite libraries

nlp 0.4.0

HuggingFace/NLP is an open library of NLP datasets.

awkward 2.0.4

Manipulate JSON-like data with NumPy-like idioms.

petastorm 0.12.1

Petastorm is a library enabling the use of Parquet storage from Tensorflow, Pytorch, and other Python-based ML training frameworks.