1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
┌──────────────────────────────────────────────────────────────┐
│ N B A [ KRZ ] krz.sh │
└──────────────────────────────────────────────────────────────┘
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.
┌──────────────────────────────────────────────────────────────┐
│ krz.sh │
└──────────────────────────────────────────────────────────────┘
|