wsba-hockey 0.1.1__py3-none-any.whl → 0.1.4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: wsba_hockey
3
- Version: 0.1.1
3
+ Version: 0.1.4
4
4
  Summary: WeakSide Breakout's complete Python package of access to hockey data, primairly including the scraping of National Hockey League schedule, play-by-play, and shifts information.
5
5
  Author-email: Owen Singh <owenbksingh@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/owensingh38/wsba_hockey/
@@ -44,29 +44,67 @@ wsba.nhl_scrape_season('20242025',split_shifts=False,remove=['game-end'],local=T
44
44
 
45
45
  ```python
46
46
  wsba.nhl_scrape_schedule('20242025')
47
- wsba.nhl_scrape_seasons_info(seasons=['20212022','20222023','20232024','20242025])
47
+ wsba.nhl_scrape_seasons_info(seasons=['20212022','20222023','20232024','20242025'])
48
48
  wsba.nhl_scrape_standings(arg = '2024-03-20')
49
49
  ```
50
50
 
51
51
  ### NHL Rosters and Player Information
52
52
 
53
53
  ```python
54
- wsba.nhl_scrape_player_info(wsba.nhl_scrape_roster('20242025'))
54
+ wsba.nhl_scrape_roster('20242025')
55
+ wsba.nhl_scrape_team_info()
55
56
  ```
56
57
 
58
+ ### NHL Draft Rankings and Prospects
59
+
60
+ ```python
61
+ wsba.nhl_scrape_draft_rankings()
62
+ wsba.nhl_scrape_prospects('BOS')
63
+ ```
64
+
65
+
57
66
  ## DATA ANALYTICS
58
- ### Expected Goals (WeakSide Breakout and MoneyPuck models)*
59
- ### Goal Impacts and Shot Analysis*
60
- ### Stat Aggregation*
61
- ### Shot Plotting (Plots, Heatmaps, etc.)*
67
+ ### Expected Goals (WeakSide Breakout and MoneyPuck models)
68
+ ### Goal Impacts and Shot Analysis
69
+ ### Stat Aggregation
70
+ ```python
71
+ pbp = wsba.nhl_scrape_season('20232024',remove=[], local = True)
72
+ wsba.nhl_calculate_stats(pbp,'skater',[2],['5v5','4v4','3v3'],xg='moneypuck',shot_impact = True)
73
+ ```
74
+ ### Shot Plotting (Plots, Heatmaps, etc.)
75
+ ```python
76
+ skater_dict = {
77
+ 'Patrice Bergeron':['20212022','BOS']
78
+ }
79
+ pbp = wsba.nhl_scrape_season('20212022',remove=[], local = True)
80
+
81
+ wsba.nhl_plot_skater_shots(pbp,skater_dict,['5v5'],legend=True)
82
+ wsba.nhl_plot_games(pbp,legend=True)
83
+ ```
62
84
 
63
85
  ## REPOSITORY
64
- ### Past Season Play-by-Play*
65
- ### Team Information*
66
- ### Schedule*
86
+ ### Past Season Play-by-Play
87
+ ```python
88
+ wsba.repo_load_pbp(seasons=['20212022','20222023','20232024','20242025'])
89
+ ```
90
+ ### Team Information
91
+ ```python
92
+ wsba.repo_load_teaminfo()
93
+ wsba.repo_load_rosters(seasons=['20212022','20222023','20232024','20242025'])
94
+ ```
95
+ ### Schedule
96
+ ```python
97
+ wsba.repo_load_schedule(seasons=['20212022','20222023','20232024','20242025'])
98
+ ```
67
99
 
68
100
  ## ACKNOWLEDGEMENTS AND CREDITS
69
101
  ### Huge thanks to the following:
70
- Harry Shomer - Creator of the hockey_scraper package, which contains select utils functions utilized in this package and otherwise inspires the creation of this package.
102
+ Harry Shomer - Creator of the hockey_scraper package, which contains select utils functions within this package and otherwise inspires the creation of this package.
71
103
 
72
104
  Dan Morse - Creator of the hockeyR package; another important inspiration and model for developing an NHL scraper.
105
+
106
+ Patrick Bacon - Creator of TopDownHockey package
107
+
108
+ MoneyPuck - Source of available xG data in the package
109
+
110
+ Anyone in the NHL Public Analytics community who has stuck around and supported WeakSide Breakout Analysis hockey.
@@ -0,0 +1,18 @@
1
+ wsba_hockey/__init__.py,sha256=O6xg_IEhZqbwVYB3Nv5x0wZyz93lvROf31g8zW63M0k,352
2
+ wsba_hockey/wsba_main.py,sha256=64TMphYtWySexC8SwDvEhzoxTU4M3fbQMDUG6dAVaG4,37468
3
+ wsba_hockey/stats/calculate_viz/shot_impact.py,sha256=7zxf64yt87YDucUBG31W75u951AUbMC7a3x5ClNIxYI,39
4
+ wsba_hockey/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ wsba_hockey/tools/agg.py,sha256=qe6TLwxkNRwZM3-EFp5sxuwo8gHY9kk5M-eShqOg0gs,9565
6
+ wsba_hockey/tools/plotting.py,sha256=nmSX9A6-ddIeSkLZqzF6XxPgcClYW9LvmNCdZnJRSuc,3820
7
+ wsba_hockey/tools/scraping.py,sha256=TkNJxqxzODzSpM8Mx8AbDnw-wDJLF7DZXQFeqFsgdsQ,48745
8
+ wsba_hockey/tools/xg_model.py,sha256=qjScRMzLOkVsv6zVzJJxHBlbBPF6xg6_koncMCyYGYE,15052
9
+ wsba_hockey/tools/archive/old_scraping.py,sha256=hEjMI1RtfeZnf0RBiJFI38oXkLZ3WofeH5xqcF4pzgM,49585
10
+ wsba_hockey/tools/utils/__init__.py,sha256=vccXhOtzARoR99fmEWU1OEI3qCIdQ9Z42AlRA_BUhrs,114
11
+ wsba_hockey/tools/utils/config.py,sha256=D3Uk05-YTyrhfReMTTLfNI3HN_rON2uo_CDE9oER3Lg,351
12
+ wsba_hockey/tools/utils/save_pages.py,sha256=CsyL_0n-b-4pJoUauwU3HpnCO6n69-RlBMJQBd_qGDc,4979
13
+ wsba_hockey/tools/utils/shared.py,sha256=dH_JwZfia5fib8rksy5sW-mBp0pluBPvw37Vdr8Kap0,14211
14
+ wsba_hockey-0.1.4.dist-info/licenses/LICENSE,sha256=Nr_Um1Pd5FQJTWWgm7maZArdtYMbDhzXYSwyJIZDGik,1114
15
+ wsba_hockey-0.1.4.dist-info/METADATA,sha256=pXXRpeNBfX_0O09o0iWqvfh3zBJAfSklcPt10wVi7ZU,3534
16
+ wsba_hockey-0.1.4.dist-info/WHEEL,sha256=lTU6B6eIfYoiQJTZNc-fyaR6BpL6ehTzU3xGYxn2n8k,91
17
+ wsba_hockey-0.1.4.dist-info/top_level.txt,sha256=acU7s3x-RZC1zGiqCOmO0g267iqCg34lzIfdmYxxGmQ,12
18
+ wsba_hockey-0.1.4.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (77.0.3)
2
+ Generator: setuptools (78.1.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,8 +0,0 @@
1
- wsba_hockey/__init__.py,sha256=ZEGrbDB2oiXahEyi1lslS9bLdpoCSEHhrscR_WTgBRw,173
2
- wsba_hockey/wsba_main.py,sha256=0TZa3zcAr790AJVWS_zLIwDvTbR_wY0FVfRU-YxrZGQ,11915
3
- wsba_hockey/tools/scraping.py,sha256=iiJzIzd1Xk6L43fE338hM7k-uqVnObrMfwsI7Lt27jM,33877
4
- wsba_hockey-0.1.1.dist-info/licenses/LICENSE,sha256=Nr_Um1Pd5FQJTWWgm7maZArdtYMbDhzXYSwyJIZDGik,1114
5
- wsba_hockey-0.1.1.dist-info/METADATA,sha256=JqYMy1I61__JhIp4XaDrGTZDTTvpNYx3jYXd_ViaLn4,2450
6
- wsba_hockey-0.1.1.dist-info/WHEEL,sha256=1tXe9gY0PYatrMPMDd6jXqjfpz_B-Wqm32CPfRC58XU,91
7
- wsba_hockey-0.1.1.dist-info/top_level.txt,sha256=acU7s3x-RZC1zGiqCOmO0g267iqCg34lzIfdmYxxGmQ,12
8
- wsba_hockey-0.1.1.dist-info/RECORD,,