F1 Stats Replay (CLI Tool)

A Python command-line tool for analysing and replaying historical Formula 1 race data.

Python   

FastF1 API   

Pandas   

Argparse   

Screenshot of the F1 stats replay tool showing its console output.

The project repository: GitHub Repo

Why I built this

I wanted to build a backend tool that could demonstrate a full data workflow, from API integration to data processing and structured output, all within a clean and usable command-line interface. The challenge was to create a tool that was both technically robust and intuitive to use, without relying on a graphical front-end.

How I made it

I started with the "FastF1" Python Library as the data source, as it provides rich telemetry data for all Grand Prix races. The data was then processed using the "pandas" library to perform calculations and structure the output. Finally, I used the "argparse" library to create the command-line interface, making the tool easy to navigate. The entire project was built in Python.

Stack & tools

  • Python: The core language for the entire project.

  • FastF1 API: For sourcing all the race data.

  • Pandas: For data manipulation and analysis.

  • Argparse: For building the command-line interface.