| name | last commit | updated |
|---|---|---|
| .githooks/ | add pre-push git commit hooks to run ruff check and ruff format | 5 months ago |
| nba/ | Merge pull request #1 from krazywarez/cleanup/untrack-build-artifacts | 1 month ago |
| screenshots/ | update README | 5 months ago |
| .gitignore | Merge pull request #1 from krazywarez/cleanup/untrack-build-artifacts | 1 month ago |
| .mailmap | Collapse my addresses into one contributor | 1 month ago |
| LICENSE | convert readme to nfo; relicense to 0bsd | 2 months ago |
| README.org | Convert README.nfo to README.org (!1) | 1 month ago |
| pylintrc | initial commit | 1 year ago |
| pyproject.toml | Merge pull request #1 from krazywarez/cleanup/untrack-build-artifacts | 1 month ago |
| requirements.txt | feat: add Textual TUI with auto-refresh, leaders, playoff picture, and box score | 5 months ago |
| uv.lock | feat: add Bracket tab for playoffs | 5 months ago |
nba
what
python package. command-line interface to nba scores, standings, stat leaders, playoff picture, and live box scores. one-shot mode and an interactive tui with auto-refresh.
install
git clone https://git.cleberg.net/nba-scores.git
cd nba-scores
pipx install .
tui
nba --tui
flags: - --tui launch the tui - --scores open on the scores tab (default) - --standings open on the standings tab - --refresh N refresh seconds (default 60, min 10)
tabs: scores (s), standings (t), leaders (l), playoff picture (p), bracket (k), box score (b).
keys: 1-9 load a box score, comma and period cycle leader categories, r refresh, q quit.
leader categories: points, rebounds, assists, steals, blocks, efficiency, fg%, ft%, 3p%.
static
nba --scores # -sc, today's scoreboard
nba --standings # -st, conference standings
contributing
fork, add features, open a pull request.
Clone
SSHgit clone ssh://git@gitbay.org/krz/nba-scores.git
HTTPSgit clone https://gitbay.org/krz/nba-scores.git