From 4cbe592e0a0fae13f0a89918a66fd983dd84464f Mon Sep 17 00:00:00 2001 From: Christian Cleberg Date: Wed, 15 Apr 2026 22:28:45 -0500 Subject: feat: add Textual TUI with auto-refresh, leaders, playoff picture, and box score MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Introduces an interactive terminal UI via the `--tui` flag backed by the Textual framework. Scores and standings auto-refresh on a configurable interval (default 60s, minimum 10s) using asyncio with nba_api calls offloaded to a thread pool to keep the event loop unblocked. New tabs: - Scores / Standings (existing views, now live-updating) - Leaders: top-25 by stat category, cycle with < / > keys - Playoff Picture: conference seeding with clinch/elimination status - Box Score: per-player live stats, load any game with keys 1–9 Refactored scores.py and standings.py to separate rendering from I/O (get_scoreboard_table, get_east/west_standings_table), keeping the existing static CLI path fully intact. Added -sc / -st shortcut flags. Adds textual>=0.89.1,<7.0 dependency, build-system declaration for uv, and package-data entry for the bundled .tcss stylesheet. --- nba_scores.egg-info/SOURCES.txt | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 nba_scores.egg-info/SOURCES.txt (limited to 'nba_scores.egg-info/SOURCES.txt') diff --git a/nba_scores.egg-info/SOURCES.txt b/nba_scores.egg-info/SOURCES.txt new file mode 100644 index 0000000..b5c9c92 --- /dev/null +++ b/nba_scores.egg-info/SOURCES.txt @@ -0,0 +1,19 @@ +LICENSE +README.md +pyproject.toml +nba/__init__.py +nba/__main__.py +nba/cli.py +nba/fetch_data.py +nba/scores.py +nba/standings.py +nba/tui/__init__.py +nba/tui/app.py +nba/tui/styles.tcss +nba/tui/widgets.py +nba_scores.egg-info/PKG-INFO +nba_scores.egg-info/SOURCES.txt +nba_scores.egg-info/dependency_links.txt +nba_scores.egg-info/entry_points.txt +nba_scores.egg-info/requires.txt +nba_scores.egg-info/top_level.txt \ No newline at end of file -- cgit v1.2.3