Skip to content

A Python repository for analyzing and visualizing Formula 1 data. Includes tools for race statistics, performance comparisons, and custom visualizations.

License

Notifications You must be signed in to change notification settings

Maxbleu/F1Analisys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

F1Analisys

Banner principal del proyecto

F1 project to analyze the data of the F1 championship making use of the pandas library to handle the data and the matplotlib library to plot different analisys like:

  • Track dominance
  • Top speed
  • Lap time average
  • Race pace
  • Team performance
  • Fastest laps
  • Race position evolution
  • Fatest drivers each compound

Instalation

To install the repository, you can make a fork of the repository or cloning my repository using the following command:

git clone git@github.com:Maxbleu/F1Analisys.git

Later , you can install the required libraries using pip with the following command:

pip install -r requirements.txt

Run

To run the project, you need to execute the following command:

python -m uvicorn main:app --reload

Usage

This project is designed to get every analisys named before for normal persons out of the tech word interested in the technical part of F1 and developers.

In every endpoint of this project, after the url, you can put if you want convert the image to bytes or not, if you don't want to convert the image to bytes, you need to put ?convert_img=False in the url, because, this option is enabled by default.

Usage to convert image

/analisys/track_dominance/2024/10/Q?convert_img=False

In this case the url would be: this example

ejemplo de obtener un analisis sin convertir a bytes

/analisys/track_dominance/2024/10/Q

In this case the url would be: this example

ejemplo de obtener un analisis convertido a bytes

Documentation

To see the endpoints of the project you only need to this link

Contributing

For contributing to this project, you need to read first of all CONTRIBUTING.md

Special mention

I want to thank to Fastf1 project for the data, and to the F1 community for the passion and the love for the sport. If that project don't exist, this project wouldn't exist. I only have one word in my mind: THANK YOU.

Notice

F1Analisys is unofficial and are not associated in any way with the Formula 1 companies. F1, FORMULA ONE, FORMULA 1, FIA FORMULA ONE WORLD CHAMPIONSHIP, GRAND PRIX and related marks are trade marks of Formula One Licensing B.V.

About

A Python repository for analyzing and visualizing Formula 1 data. Includes tools for race statistics, performance comparisons, and custom visualizations.

Topics

Resources

License

Stars

Watchers

Forks