Blue F1ag provides F1 data through graphs for fans to analyze.
Add Blue F1ag to your discord server
Blue F1ag Support Server
Blue F1ag ToS
Blue F1ag Privacy Policy
Run pip install -r requirements.txt
to install dependencies.
- To enable cache make a folder named
doc_cache
in the main directory. - To run the server, run
main.py
. - To generate graphs you can either, send a
POST
request to/
with the proper inputs. - Alternatively, you can use the functions directly in the
funcs.py
/funcs_aws.py
. - To update data, send an empty
POST
request to/update
. - Alternatively, you can update data using the functions in the
update.py
. - All the plotting functions are in
funcs.py
/funcs_aws.py
. funcs.py
uses the built in cache in the fastf1 library.funcs_aws.py
uses aws for storage rather than the built in cache in the fasft1 library. (warning: innacurate data)aws_api.py
contains functions for using aws s3.