pyhf 0.6.3


pure-Python HistFactory implementation with tensors and autodiff

pure-Python HistFactory implementation with tensors and autodiff

Stars: 220, Watchers: 220, Forks: 67, Open Issues: 365

The scikit-hep/pyhf repo was created 4 years ago and was last updated 6 hours ago.
The project is popular with 220 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 365 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.7.1

HuggingFace community-driven open-source library of datasets

thinc 8.1.1

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.

petastorm 0.12.0

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