The fastest way of installing this package is through PyPI or Conda:
python3 -m pip install qrules
conda install -c conda-forge qrules
pip install qrules[viz] # installs qrules with graphviz
The latest version on the
can be installed as follows:
python3 -m pip install git+https://github.com/ComPWA/qrules@main
It is highly recommend to use the more dynamic ‘editable installation’. This allows you to:
exactly pin all dependencies to a specific version, so that your work is reproducible.
edit the source code of the framework and help improving it.
For this, you first need to get the source code with Git:
git clone https://github.com/ComPWA/qrules.git cd qrules
conda env create
This installs the project in a Conda environment following the definitions in
See Updating for how to update the dependencies when new commits come in.