Skip to content

feat: add F1 module (closes #5)#6

Merged
prrockzed merged 1 commit into
mainfrom
feat/issue-5-f1-module
Jun 14, 2026
Merged

feat: add F1 module (closes #5)#6
prrockzed merged 1 commit into
mainfrom
feat/issue-5-f1-module

Conversation

@prrockzed

@prrockzed prrockzed commented Jun 14, 2026

Copy link
Copy Markdown
Owner

Summary

  • Adds sports f1 sub-command with five commands: schedule, standings, constructors, results, live
  • Two API clients: F1Client (Jolpica/Ergast — historical data) and OpenF1Client (real-time session positions) — no API key required for either
  • Rich display renderers for all five data types (emoji medals for top 3 in results)
  • Interactive _show_menu() following the same pattern as chess/cricket/football
  • Registered in CLI root — appears in both the welcome screen and interactive root menu
  • 56 new tests (241 total across the project), all passing

Test plan

  • pytest — 241/241 passing locally
  • CI will run on push via python-package.yml
  • Manual smoke test: sports f1 schedule, sports f1 standings, sports f1 live

🤖 Generated with Claude Code

…and live commands

Implements issue #5. Adds two API clients (Jolpica/Ergast for historical
data, OpenF1 for real-time session positions), Rich display renderers, a
Typer sub-app with interactive menu support, and 56 tests (241 total).
Registers f1 sub-app in CLI root and adds F1 to the welcome screen and
interactive root menu.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@prrockzed prrockzed merged commit ece5f12 into main Jun 14, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant