Skip to content

varunsoni00/f1_fastest_lap_comparison

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F1 grand prix fastest lap and telemetry comparison between two drivers

A Python project to compare the fastest laps and telemetry between two F1 drivers using fastf1 and matplotlib.

Features

  • Takes input information from the user about the F1 grand prix and the two drivers
  • Extracts the race telemetry using fastf1 and finds the fastest lap time for the respective session
  • Plots three different telemetry comparing the speed, throttle and brake application throughout the fastest lap between the two drivers
  • Uses matplotlib to show the plot datasets
  • Caches the respective session data in data/cache

Quick start

# create and activate virtual environment (if not already)
python3 -m venv .venv
source .venv/bin/activate

# install dependencies
pip install -r requirements.txt

# run the script
python src/main.py

Output

  • Caches the respective session data at data/cache
  • Shows a plot comparing the telemetry between the two drivers

Project Structure

f1-job-scraper/
├─ src/
│  └─ main.py
├─ data/
├─ docs/
├─ requirements.txt
├─ .gitignore
├─ LICENSE
└─ README.md

License

MIT (see LICENSE file)

Project Last Updated

13th October 2025

About

A Python tool that analyzes the fastest lap between two F1 drivers

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages