nhlstats
github-stats
nhlstats | github-stats | |
---|---|---|
1 | 5 | |
45 | 2,722 | |
- | - | |
0.0 | 9.5 | |
almost 3 years ago | 3 days ago | |
Python | Python | |
Apache License 2.0 | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nhlstats
-
NHL goalies save percentage by goal differential
I used the nhlstats tool to download play-by-play and shift data for the current NHL season, and then loaded it into a PostgreSQL database. 99% of the analysis was done using postgres queries, though I did use a little bit of pandas / Seaborn to create charts because of how intertwined those ecosystems are. The queries are relatively complex so I won't break them down here unless there is great demand, but I am planning to release the code to download & process the data once I have it cleaned up a bit.
github-stats
-
Ask HN: How to Do a GitHub Wrapped?
I have done similar work using the GitHub APIs before. I recommend using their GraphQL explorer to develop your queries interactively. You may need to fall back on the REST API instead of the GraphQL one for certain stats.
https://docs.github.com/en/graphql/overview/explorer
You can also refer to my code here, which may already collect some of the statistics you're interested in.
https://github.com/jstrieb/github-stats/blob/master/github_s...
I predict the most annoying part of this project will be dealing with authentication. There are a handful of ways to do it, and the permissions can be finicky depending on what data you are fetching.
Best of luck!
-
My Awesome Github Readme
Github Stats:https://github.com/jstrieb/github-stats
- Show HN: Better GitHub statistics images for your profile
- Better GitHub README Statistics Images
- Better GitHub README statistics using GitHub Actions
What are some alternatives?
nhl-api - NHL data and utilities to work with it
github-readme-twitter - Add Twitter to your github readme
Minecraft-Serverstats-Discord-Bot - A bot to get Statistics like the Playercount from your Minecraft-Server on your Discord-Server
PyGitHub - Typed interactions with the GitHub API v3
sportsipy - A free sports API written for python
nyt-2020-election-scraper
statsmodels - Statsmodels: statistical modeling and econometrics in Python
HelloGitHub - :octocat: 分享 GitHub 上有趣、入门级的开源项目。Share interesting, entry-level open source projects on GitHub.
ha-teamtracker - Home Assistant integration that provides real-time scores in multiple professional (NBA, NFL, NHL, MLB, MLS, and more), college (NCAA), and international (soccer, golf, tennis, mma, racing) sports using ESPN APIs.
tinderstats - Display statistics for Tinder usage from downloaded data
github-stats-terminal-style - Generate :octocat: Stats as like Terminal Interface with typing effects dynamically for your profile Readme
gstore - A dead simple tool to synchronize GitHub repositories of your organizations