blob: b0263b871be55fad09a5dfb3fad863aa39e08062 (
plain) (
blame)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
Metadata-Version: 2.4
Name: nba-scores
Version: 0.1.7
Summary: A CLI interface to get current NBA scores and standings.
Author-email: Christian Cleberg <[email protected]>
License-Expression: GPL-3.0-or-later
Project-URL: Homepage, https://git.cleberg.net/nba-scores.git
Project-URL: Issues, https://git.cleberg.net/nba-scores.git
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: nba_api
Requires-Dist: tabulate
Requires-Dist: argparse
Requires-Dist: textual<7.0,>=0.89.1
Dynamic: license-file
# NBA
NBA is a simple Python package that provides you with a quick and easy
command-line interface to current NBA scores and standings.
See the [Installation](#installation) & [Usage](#usage) sections below
for more information.
# Table of Contents
- [Installation](#installation)
- [Usage](#usage)
- [Contributing](#contributing)
# Installation
[Back to top](#table-of-contents)
## PyPi
```shell
pipx install nba-scores
```
## Manual
To run the script locally, run the following commands:
```shell
git clone https://git.cleberg.net/nba-scores.git
cd nba-scores
pipx install .
```

# Usage
[Back to top](#table-of-contents)
All commands can be passed to the program with the following template:
`nba <ARGUMENT>`
| Argument | Shortcut | Description |
|---------------|----------|-----------------------------------|
| `--scores` | `-sc` | Show today's scoreboard |
| `--standings` | `-st` | Show current conference standings |
Scores:

Standings:

# Contributing
[Back to top](#table-of-contents)
Any and all contributions are welcome. Feel free to fork the project,
add features, and submit a pull request.
|