Installation#
Install via pip#
The easiest way to install LiveF1 is through pip. Run the following command in your terminal:
pip install livef1
Optional: Polars backend#
To build LiveF1 tables with Polars instead of pandas, install the
polars extra and select it with livef1.configure(dataframe_backend="polars")
(see DataFrame Backend (pandas or Polars)):
pip install "livef1[polars]"
Install from source#
If you want to install the latest development version or contribute to LiveF1, follow these steps:
Clone the repository:
git clone https://github.com/goktugocal/LiveF1.gitNavigate into the project directory:
cd LiveF1Install dependencies and the package:
pip install -r requirements.txt pip install .
Note
LiveF1 uses data feeds from external Formula 1 timing services. These data sources may be subject to change, service limitations, or terms of use outside the control of this library.