This package lets you sync F1 game data into F1Laps automatically. It receives telemetry packets via the UDP protocol in your local network.
- Python 3
- Package requirements, see requirements.txt
You can run all unit tests with this command:
python3 -m unittest discover
You can build Mac and Windows apps via PyInstaller, which offer a graphical user interface for running this script.
Mac
# First one returns GUI app; second one returns GUI+console exe
python3 -m PyInstaller app.py --noconsole --name F1Laps --icon images/app-icon.icns --add-data 'logo.svg:.'
python3 -m PyInstaller app.py --onefile --name F1Laps --icon images/app-icon.icns --add-data 'logo.svg:.'
Windows
# First one returns GUI exe; second one returns GUI+console exe
python -m PyInstaller app.py --onefile --noconsole --name F1Laps --icon images/app-icon.ico --add-data "logo.svg;."
python -m PyInstaller app.py --onefile --name F1Laps --icon images/app-icon.ico --add-data "logo.svg;."
This repository was heavily inspired and contributed to by: