suboptimumg.gdrive#
- suboptimumg.gdrive.load_car_from_gdrive(url)[source]#
Load a Car object from a published Google Sheets CSV export.
- Parameters:
url (str) – Link to a Google Sheets CSV export specifying vehicle configuration.
- Return type:
Notes
URLs must be in the form: “https://docs.google.com/spreadsheets/d/e/SHEET_ID/pub?output=csv”
To get this URL: 1. In Google Sheets, go to File > Share > Publish to web 2. Select the desired sheet and CSV format 3. Copy the generated URL
- suboptimumg.gdrive.load_competition_from_gdrive(comp_config_url, car_config_url)[source]#
Create a Competition object from a published Google Sheets CSV export.
This function fetches competition configuration data (scoring rules, track definitions, etc.) from a published Google Sheet and returns a configured Competition object ready for event simulation.
- Parameters:
car_config_url (str) – Link to a Google Sheets CSV export specifying vehicle configuration.
comp_config_url (str) – Link to a Google Sheets CSV export specifying competition configuration.
- Return type:
Notes
URLs must be in the form: “https://docs.google.com/spreadsheets/d/e/SHEET_ID/pub?output=csv”
To get this URL: 1. In Google Sheets, go to File > Share > Publish to web 2. Select the desired sheet and CSV format 3. Copy the generated URL