A CLI boxscore generator.
The newspaper boxscore was basically a perfect way to aggregate data about a given day's games.
Nowadays, nobody reads physical papers anymore, but nerds still use command line interfaces; if there was ever a second-best place for a boxscore, it was a CLI.
Dependencies:
- setuptools: package development and distribution library
inquirer
: a CLI navigation librarycolorama
: a library for coloring CLI outputsnumpy
: for numerical computationspandas
: data loading and analysis
Instructions:
- navigate to the directory you want to install into
- activate a virtual environment (if desired; e.g.
conda activate boxscore-env
) git clone [email protected]:cfrontin/boxscore-cli.git
- makes a local copy of the git repository with ties back to the github.com repo
cd boxscore-cli
to move into the directory you just clonedpip install -e .
to install the package (in editable mode)- navigate out of the installation directory and its parent then make sure
boxscore
runs - voilá
Type crackerjack
at the command line after installing.
This will drop you into a menu:
From there, you can navigate to the features of crackerjack. These are line scores:
Oof. Tough night for the Red Sox. Also boxscores:
There's also standings, and standings sparklines: