Installation Instructions

Requirements

  • python3

  • java (optional; used for parallel techniques)

  • matplotlib (optional; used for evaluation plotting)

Installation

Quick install

To install FLITSR, simply install as a python package using the following command:

pip install flitsr

(Optional) See Activate argument completion.

(Optional) See Installing plotting features.

Isolated installation (pipx)

If you have too many dependencies in your main python installation, and would rather prefer to have flitsr set up as a standalone tool instead of a python package, you can install flitsr as a standalone tool using pipx.

To do so, first ensure you have pipx installed. See this page for details on installing pipx.

Once pipx is installed, simply use the following command to install flitsr:

pipx install flitsr

(Optional) See Activate argument completion.

(Optional) See Installing plotting features.

Install from source

Alternatively, if you do not want to install flitsr using pip or pipx, you can install FLITSR manually from source. To do so, first clone this repository using the command:

git clone https://github.com/DCallaz/flitsr.git

Build FLITSR as a python package

To build FLITSR as a python package and add it to your global python installation (allowing importing of flitsr modules from python), use the following commands:

cd flitsr
python3 -m build
pip install dist/flitsr*.whl

(Optional) See Activate argument completion.

Build FLITSR as a standalone application

To build FLITSR as a standalone application, you may use pipx. To do so, first ensure you have pipx installed (see Isolated installation (pipx)).

Once pipx is installed, use the following commands to build and install flitsr:

cd flitsr
pipx install .

(Optional) See Activate argument completion.

(Optional) Activate argument completion using argcomplete

If you would like all flitsr scripts to have TAB-like argument completion, you will need to ensure argcomplete is set up.

To do so, run the following command after any of the above installation methods to get autocompletion on the flitsr commands:

activate-global-python-argcomplete

(Optional) Installing plotting features

If you would like to use the flitsr framework to plot the percentage-at-n figures, you will need to install the flitsr plot packaging extra. To do this, use the following command:

pip install flitsr[plot]

You may also use flitsr[plot] to install the packaging extra using pipx.