Skip to content

f1laps/f1laps-telemetry

Repository files navigation

F1Laps Telemetry Sync

unittests

This package lets you sync F1 game data into F1Laps automatically. It receives telemetry packets via the UDP protocol in your local network.

Requirements & Installation

  • Python 3
  • Package requirements, see requirements.txt

Testing

You can run all unit tests with this command:

python3 -m unittest discover

Desktop Apps

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;."

Credits & Contributions

This repository was heavily inspired and contributed to by: