[PR #44] [CLOSED] Added two new options: --list-rounds and --list-sprints #98

Closed
opened 2026-05-07 00:18:38 +02:00 by BreizhHardware · 0 comments

📋 Pull Request Information

Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/44
Author: @111110100
Created: 12/15/2025
Status: Closed

Base: mainHead: main


📝 Commits (3)

  • 2d52490 Added new arguments --list-rounds and --list-sprints that shows the round/sprint number
  • 54001a9 list_rounds() shows the rounds and location, list_sprints() shows the sprints and location
  • 9c8afb9 Sprint races was only introduced in 2021 and had 3 different string names

📊 Changes

2 files changed (+47 additions, -14 deletions)

View changed files

📝 main.py (+14 -12)
📝 src/f1_data.py (+33 -2)

📄 Description

--list-rounds lists the rounds with the location

python3 main.py --year 2023 --list-rounds
F1 Schedule 2023
0: Pre-Season Testing
1: Bahrain Grand Prix
2: Saudi Arabian Grand Prix
3: Australian Grand Prix
4: Azerbaijan Grand Prix
...

--list-sprints lists the rounds with sprint races (starting 2021 when it was introduced)

python3 main.py --year 2023 --list-sprints
F1 Sprint Races 2023
4: Azerbaijan Grand Prix
9: Austrian Grand Prix
12: Belgian Grand Pri
...

you would then use the number as the parameter of which round/sprint you want to replay.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/IAmTomShaw/f1-race-replay/pull/44 **Author:** [@111110100](https://github.com/111110100) **Created:** 12/15/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`2d52490`](https://github.com/IAmTomShaw/f1-race-replay/commit/2d524905a2f5b3a26e5b7c54a3dfe1f4424fc407) Added new arguments --list-rounds and --list-sprints that shows the round/sprint number - [`54001a9`](https://github.com/IAmTomShaw/f1-race-replay/commit/54001a91599343b6dab78ace3815aaa6175943cd) list_rounds() shows the rounds and location, list_sprints() shows the sprints and location - [`9c8afb9`](https://github.com/IAmTomShaw/f1-race-replay/commit/9c8afb9ae72cf38be613a3c4c3118db3f1ddcb8b) Sprint races was only introduced in 2021 and had 3 different string names ### 📊 Changes **2 files changed** (+47 additions, -14 deletions) <details> <summary>View changed files</summary> 📝 `main.py` (+14 -12) 📝 `src/f1_data.py` (+33 -2) </details> ### 📄 Description --list-rounds lists the rounds with the location ``` python3 main.py --year 2023 --list-rounds F1 Schedule 2023 0: Pre-Season Testing 1: Bahrain Grand Prix 2: Saudi Arabian Grand Prix 3: Australian Grand Prix 4: Azerbaijan Grand Prix ... ``` --list-sprints lists the rounds with sprint races (starting 2021 when it was introduced) ``` python3 main.py --year 2023 --list-sprints F1 Sprint Races 2023 4: Azerbaijan Grand Prix 9: Austrian Grand Prix 12: Belgian Grand Pri ... ``` you would then use the number as the parameter of which round/sprint you want to replay. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
BreizhHardware 2026-05-07 00:18:38 +02:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/f1-race-replay#98
No description provided.