Skip to content

Installation

FreqProb supports Python 3.10 to 3.12 and installs from PyPI:

pip install freqprob

It depends only on NumPy and SciPy. The memory extra adds psutil, used by the memory profiling tools in freqprob.performance.profiling:

pip install "freqprob[memory]"

To check the installation and the version:

>>> import freqprob
>>> isinstance(freqprob.__version__, str)
True

Report the version when you cite FreqProb: results can change between versions, as the Changelog and the Migration guide explain.

From source

To work on FreqProb itself, clone the repository and install it in editable mode with the development tools:

git clone https://github.com/tresoldi/freqprob.git
cd freqprob
pip install -e ".[dev]"
pytest

Next: the Tutorial.