This release is a pre-release and may not be stable for production use.
NHL ranker
Track current rankings, as well as trends and recent patterns for your favorite team.
Model the probability of winning the next game, making playoffs, winning specific playoff games, or the championship as a whole.
Notes
I hope to extend this to include individual/player statistics at some point too.
Initially available as a command line interface.
Eventually this will be hosted as a website rendered by a Flask API and Svelte front-end, and available in a more dynamic, engaging format.
I suggest using direnv to automatically load/unload the venv shell.
sudo apt install direnv
Running
Requires Python3 and venv. See the argcomplete package page for details on how to set it up with various shells, the tab-completion is working on this project and highly useful to anyone using this program.
git clone https://github.com/nutratech/nhlrank.git
cd nhlrank
make init
make deps
./sp fetch # if CSV is out of date
./sp stand -c # "-c" means used cached, e.g. don't fetch
./sp stand -c -t "Detroit Red Wings" # show details for a team
./sp stand -c -s rating # sort teams in standings by Glicko rating
# sort teams in standings by average opponent, include team details
./sp stand -c -t "Anaheim Ducks" -s avg_opp
# show help
./sp -h
./sp stand -h
Shortcut for testing
You can create a symbolic link for quick testing.
sudo ln -s "<FULL_PATH_TO_sp>" /usr/local/bin/sp
Test it.
sp stand -h
Metadata
Release files for nhlrank 0.0.1.dev15
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| nhlrank-0.0.1.dev15.tar.gz | 24.1 kB | Without provenance | Details |
Release files / nhlrank-0.0.1.dev15.tar.gz
| Download URL | nhlrank-0.0.1.dev15.tar.gz |
|---|---|
| Size | 24.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
99e06dc35bd11707e5915c3c23baae3c7c4776e29c53c019c98cb18345865b53
|
|
BLAKE2b-256 checksum How to use checksums |
2bcdbb99c6ec7ea84273b091ddb17cf9b9c0fd2f9fd75edcfc560c8a9ad4c219
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for nhlrank 0.0.1.dev15
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.