sportsball 0.5.22__tar.gz → 0.6.0__tar.gz

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.
Files changed (266) hide show
  1. {sportsball-0.5.22/sportsball.egg-info → sportsball-0.6.0}/PKG-INFO +66 -1
  2. {sportsball-0.5.22 → sportsball-0.6.0}/README.md +64 -0
  3. sportsball-0.5.22/sportsball.egg-info/requires.txt → sportsball-0.6.0/requirements.txt +1 -0
  4. {sportsball-0.5.22 → sportsball-0.6.0}/setup.py +1 -1
  5. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/__init__.py +1 -1
  6. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_league_model.py +5 -5
  7. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_league_model.py +3 -3
  8. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/aussportsbetting/afl_aussportsbetting_league_model.py +3 -2
  9. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/combined/afl_combined_league_model.py +4 -2
  10. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/espn/afl_espn_league_model.py +3 -2
  11. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/oddsportal/afl_oddsportal_league_model.py +3 -2
  12. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_league_model.py +2 -2
  13. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_league_model.py +3 -2
  14. sportsball-0.6.0/sportsball/data/combined/combined_weather_model.py +359 -0
  15. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_league_model.py +2 -2
  16. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/google/google_address_model.py +1 -0
  17. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_coach_model.py +4 -4
  18. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_game_model.py +4 -4
  19. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_league_model.py +2 -2
  20. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_player_model.py +4 -4
  21. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_team_model.py +4 -4
  22. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/league_model.py +21 -3
  23. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/model.py +13 -6
  24. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/combined/nba_combined_league_model.py +2 -2
  25. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/espn/nba_espn_league_model.py +3 -2
  26. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/nba_nba_league_model.py +2 -2
  27. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_league_model.py +3 -2
  28. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/oddsportal/nba_oddsportal_league_model.py +3 -2
  29. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsdb/nba_sportsdb_league_model.py +3 -2
  30. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsreference/nba_sportsreference_league_model.py +3 -2
  31. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/combined/ncaab_combined_league_model.py +3 -2
  32. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/espn/ncaab_espn_league_model.py +3 -2
  33. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/oddsportal/ncaab_oddsportal_league_model.py +3 -2
  34. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/sportsreference/ncaab_sportsreference_league_model.py +3 -2
  35. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/combined/ncaaf_combined_league_model.py +3 -2
  36. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/espn/ncaaf_espn_league_model.py +3 -2
  37. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/oddsportal/ncaaf_oddsportal_league_model.py +3 -2
  38. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/aussportsbetting/nfl_aussportsbetting_league_model.py +3 -2
  39. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/combined/nfl_combined_league_model.py +3 -2
  40. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/espn/nfl_espn_league_model.py +3 -2
  41. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/oddsportal/nfl_oddsportal_league_model.py +3 -2
  42. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/position.py +1 -0
  43. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/sportsdb/nfl_sportsdb_league_model.py +3 -2
  44. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/decrypt.py +3 -4
  45. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_game_model.py +4 -4
  46. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_league_model.py +2 -2
  47. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_league_model.py +2 -2
  48. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_coach_model.py +4 -4
  49. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_game_model.py +6 -6
  50. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_league_model.py +2 -2
  51. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_player_model.py +1 -1
  52. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_team_model.py +4 -4
  53. sportsball-0.6.0/sportsball/data/weather/gribstream/gribstream_weather_model.py +159 -0
  54. sportsball-0.6.0/sportsball/data/weather/openmeteo/openmeteo_weather_model.py +480 -0
  55. sportsball-0.6.0/sportsball/data/weather_model.py +77 -0
  56. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/sportsball.py +11 -3
  57. {sportsball-0.5.22 → sportsball-0.6.0/sportsball.egg-info}/PKG-INFO +66 -1
  58. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/SOURCES.txt +0 -3
  59. sportsball-0.5.22/requirements.txt → sportsball-0.6.0/sportsball.egg-info/requires.txt +2 -1
  60. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/hkjc/hkjc_hkjc_game_model_test.py +2 -3
  61. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/hkjc/hkjc_hkjc_player_model_test.py +2 -2
  62. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/decrypt_test.py +2 -2
  63. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/oddsportal_game_model_test.py +2 -3
  64. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_team_model_test.py +2 -2
  65. sportsball-0.5.22/sportsball/data/combined/combined_weather_model.py +0 -22
  66. sportsball-0.5.22/sportsball/data/weather/gribstream/gribstream_weather_model.py +0 -85
  67. sportsball-0.5.22/sportsball/data/weather/openmeteo/openmeteo_weather_model.py +0 -181
  68. sportsball-0.5.22/sportsball/data/weather_model.py +0 -10
  69. sportsball-0.5.22/sportsball/proxy_session.py +0 -326
  70. sportsball-0.5.22/sportsball/session.py +0 -3
  71. sportsball-0.5.22/tests/proxy_session_test.py +0 -63
  72. {sportsball-0.5.22 → sportsball-0.6.0}/LICENSE +0 -0
  73. {sportsball-0.5.22 → sportsball-0.6.0}/MANIFEST.in +0 -0
  74. {sportsball-0.5.22 → sportsball-0.6.0}/setup.cfg +0 -0
  75. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/__main__.py +0 -0
  76. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/args.py +0 -0
  77. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/cache.py +0 -0
  78. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/__init__.py +0 -0
  79. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/address_model.py +0 -0
  80. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/__init__.py +0 -0
  81. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/__init__.py +0 -0
  82. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_bookie_model.py +0 -0
  83. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_game_model.py +0 -0
  84. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_odds_model.py +0 -0
  85. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_player_model.py +0 -0
  86. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_team_model.py +0 -0
  87. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_venue_model.py +0 -0
  88. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/__init__.py +0 -0
  89. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_coach_model.py +0 -0
  90. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_game_model.py +0 -0
  91. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_player_model.py +0 -0
  92. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_team_model.py +0 -0
  93. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_venue_model.py +0 -0
  94. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/aussportsbetting/__init__.py +0 -0
  95. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/combined/__init__.py +0 -0
  96. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/espn/__init__.py +0 -0
  97. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/oddsportal/__init__.py +0 -0
  98. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/position.py +0 -0
  99. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/__init__.py +0 -0
  100. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_bookie_model.py +0 -0
  101. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_game_model.py +0 -0
  102. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_odds_model.py +0 -0
  103. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_team_model.py +0 -0
  104. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_venue_model.py +0 -0
  105. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/bet.py +0 -0
  106. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/bookie_model.py +0 -0
  107. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/coach_model.py +0 -0
  108. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/__init__.py +0 -0
  109. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_address_model.py +0 -0
  110. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_coach_model.py +0 -0
  111. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_game_model.py +0 -0
  112. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_player_model.py +0 -0
  113. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_team_model.py +0 -0
  114. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_venue_model.py +0 -0
  115. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/null_check.py +0 -0
  116. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/dividend_model.py +0 -0
  117. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/__init__.py +0 -0
  118. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_bookie_model.py +0 -0
  119. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_coach_model.py +0 -0
  120. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_game_model.py +0 -0
  121. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_odds_model.py +0 -0
  122. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_player_model.py +0 -0
  123. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_team_model.py +0 -0
  124. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_venue_model.py +0 -0
  125. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/field_type.py +0 -0
  126. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/game_model.py +0 -0
  127. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/google/__init__.py +0 -0
  128. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/google/google_news_model.py +0 -0
  129. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/__init__.py +0 -0
  130. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/__init__.py +0 -0
  131. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_bookie_model.py +0 -0
  132. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_dividend_model.py +0 -0
  133. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_odds_model.py +0 -0
  134. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_owner_model.py +0 -0
  135. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_venue_model.py +0 -0
  136. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/position.py +0 -0
  137. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/league.py +0 -0
  138. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/__init__.py +0 -0
  139. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/combined/__init__.py +0 -0
  140. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/espn/__init__.py +0 -0
  141. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/__init__.py +0 -0
  142. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/nba_nba_game_model.py +0 -0
  143. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/nba_nba_team_model.py +0 -0
  144. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/__init__.py +0 -0
  145. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_game_model.py +0 -0
  146. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_player_model.py +0 -0
  147. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_team_model.py +0 -0
  148. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_venue_model.py +0 -0
  149. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/oddsportal/__init__.py +0 -0
  150. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/position.py +0 -0
  151. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsdb/__init__.py +0 -0
  152. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsreference/__init__.py +0 -0
  153. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/__init__.py +0 -0
  154. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/combined/__init__.py +0 -0
  155. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/espn/__init__.py +0 -0
  156. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/oddsportal/__init__.py +0 -0
  157. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/sportsreference/__init__.py +0 -0
  158. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/__init__.py +0 -0
  159. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/combined/__init__.py +0 -0
  160. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/espn/__init__.py +0 -0
  161. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/oddsportal/__init__.py +0 -0
  162. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/news_model.py +0 -0
  163. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/__init__.py +0 -0
  164. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/aussportsbetting/__init__.py +0 -0
  165. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/combined/__init__.py +0 -0
  166. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/espn/__init__.py +0 -0
  167. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/oddsportal/__init__.py +0 -0
  168. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/sportsdb/__init__.py +0 -0
  169. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/odds_model.py +0 -0
  170. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/__init__.py +0 -0
  171. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_bookie_model.py +0 -0
  172. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_odds_model.py +0 -0
  173. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_team_model.py +0 -0
  174. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_venue_model.py +0 -0
  175. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/owner_model.py +0 -0
  176. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/player_model.py +0 -0
  177. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/season_type.py +0 -0
  178. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sex.py +0 -0
  179. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/social_model.py +0 -0
  180. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/species.py +0 -0
  181. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/__init__.py +0 -0
  182. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_game_model.py +0 -0
  183. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_team_model.py +0 -0
  184. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_venue_model.py +0 -0
  185. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/__init__.py +0 -0
  186. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_venue_model.py +0 -0
  187. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/team_model.py +0 -0
  188. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/venue_model.py +0 -0
  189. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/__init__.py +0 -0
  190. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/gribstream/__init__.py +0 -0
  191. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/multi_weather_model.py +0 -0
  192. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/openmeteo/__init__.py +0 -0
  193. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/wikipedia/__init__.py +0 -0
  194. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/wikipedia/wikipedia_venue_model.py +0 -0
  195. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/x/__init__.py +0 -0
  196. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/x/x_social_model.py +0 -0
  197. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/logger.py +0 -0
  198. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/loglevel.py +0 -0
  199. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/playwright.py +0 -0
  200. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/vendor/__init__.py +0 -0
  201. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/vendor/pygooglenews/__init__.py +0 -0
  202. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/dependency_links.txt +0 -0
  203. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/entry_points.txt +0 -0
  204. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/not-zip-safe +0 -0
  205. {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/top_level.txt +0 -0
  206. {sportsball-0.5.22 → sportsball-0.6.0}/tests/__init__.py +0 -0
  207. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/__init__.py +0 -0
  208. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/__init__.py +0 -0
  209. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afl/__init__.py +0 -0
  210. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afl/afl_afl_game_model_test.py +0 -0
  211. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afl/afl_afl_league_model_test.py +0 -0
  212. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/__init__.py +0 -0
  213. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_coach_model_test.py +0 -0
  214. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_game_model_test.py +0 -0
  215. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_league_model_test.py +0 -0
  216. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_player_model_test.py +0 -0
  217. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/aussportsbetting/__init__.py +0 -0
  218. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/aussportsbetting/aussportsbetting_game_model_test.py +0 -0
  219. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/__init__.py +0 -0
  220. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_game_model_test.py +0 -0
  221. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_player_model_test.py +0 -0
  222. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_team_model_test.py +0 -0
  223. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_venue_model_test.py +0 -0
  224. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/espn/__init__.py +0 -0
  225. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/espn/espn_game_model_test.py +0 -0
  226. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/espn/espn_player_model_test.py +0 -0
  227. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/game_model_test.py +0 -0
  228. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/google/__init__.py +0 -0
  229. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/google/google_address_model_test.py +0 -0
  230. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/google/google_news_model_test.py +0 -0
  231. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/__init__.py +0 -0
  232. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/hkjc/__init__.py +0 -0
  233. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/__init__.py +0 -0
  234. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/__init__.py +0 -0
  235. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/nba_nba_game_model_test.py +0 -0
  236. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/nba_nba_league_model_test.py +0 -0
  237. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/nba_nba_team_model_test.py +0 -0
  238. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsdb/__init__.py +0 -0
  239. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsdb/nba_sportsdb_league_model_test.py +0 -0
  240. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsreference/__init__.py +0 -0
  241. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsreference/nba_sportsreference_league_model_test.py +0 -0
  242. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/ncaab/__init__.py +0 -0
  243. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/ncaab/sportsreference/__init__.py +0 -0
  244. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/ncaab/sportsreference/ncaab_sportsreference_league_model_test.py +0 -0
  245. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nfl/__init__.py +0 -0
  246. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nfl/sportsdb/__init__.py +0 -0
  247. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nfl/sportsdb/nfl_sportsdb_league_model_test.py +0 -0
  248. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/__init__.py +0 -0
  249. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/oddsportal_league_model_test.py +0 -0
  250. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/player_model_test.py +0 -0
  251. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/social_model_test.py +0 -0
  252. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/__init__.py +0 -0
  253. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_game_model_test.py +0 -0
  254. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_league_model_test.py +0 -0
  255. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_team_model_test.py +0 -0
  256. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_venue_model_test.py +0 -0
  257. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/__init__.py +0 -0
  258. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_coach_model_test.py +0 -0
  259. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_game_model_test.py +0 -0
  260. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_league_model_test.py +0 -0
  261. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_player_model_test.py +0 -0
  262. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_venue_model_test.py +0 -0
  263. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/team_model_test.py +0 -0
  264. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/x/__init__.py +0 -0
  265. {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/x/x_social_model_test.py +0 -0
  266. {sportsball-0.5.22 → sportsball-0.6.0}/tests/sportsball_test.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: sportsball
3
- Version: 0.5.22
3
+ Version: 0.6.0
4
4
  Summary: A library for pulling in and normalising sports stats.
5
5
  Home-page: https://github.com/8W9aG/sportsball
6
6
  Author: Will Sackfield
@@ -47,6 +47,7 @@ Requires-Dist: playwright>=1.51.0
47
47
  Requires-Dist: cchardet>=2.2.0a2
48
48
  Requires-Dist: lxml>=5.3.0
49
49
  Requires-Dist: gender-guesser>=0.4.0
50
+ Requires-Dist: scrapesession>=0.0.1
50
51
  Dynamic: author
51
52
  Dynamic: author-email
52
53
  Dynamic: classifier
@@ -109,6 +110,7 @@ Python 3.11.6:
109
110
  - [cchardet](https://github.com/PyYoshi/cChardet)
110
111
  - [lxml](https://lxml.de/)
111
112
  - [gender-guesser](https://github.com/lead-ratings/gender-guesser)
113
+ - [scrapesession](https://github.com/8W9aG/scrapesession)
112
114
 
113
115
  ## Raison D'être :thought_balloon:
114
116
 
@@ -326,6 +328,69 @@ The forecasted weather one day out at the address of the game start time.
326
328
 
327
329
  * **temperature**: The temperature at the address at the game start time.
328
330
  * **relative_humidity**: The relative humidity at the address at the game start time.
331
+ * **dew_point**: The temperature at the address at the game start time.
332
+ * **apparent_temperature**: The apparent temperature at the address at the game start time.
333
+ * **precipitation_probability**: The precipitation probability at the address at the game start time.
334
+ * **precipitation**: The precipitation at the address at the game start time.
335
+ * **rain**: The rain at the address at the game start time.
336
+ * **showers**: The showers at the address at the game start time.
337
+ * **snowfall**: The snowfall at the address at the game start time.
338
+ * **snow_depth**: The snow depth at the address at the game start time.
339
+ * **weather_code**: The weather code at the address at the game start time.
340
+ * **sealevel_pressure**: The sealevel pressure at the address at the game start time.
341
+ * **surface_pressure**: The surface pressure at the address at the game start time.
342
+ * **cloud_cover_total**: The total cloud cover at the address at the game start time.
343
+ * **cloud_cover_low**: The low cloud cover at the address at the game start time.
344
+ * **cloud_cover_mid**: The mid cloud cover at the address at the game start time.
345
+ * **cloud_cover_high**: The high cloud cover at the address at the game start time.
346
+ * **visibility**: The visibility at the address at the game start time.
347
+ * **evapotranspiration**: The evapotranspiration at the address at the game start time.
348
+ * **reference_evapotranspiration**: The reference evapotranspiration at the address at the game start time.
349
+ * **vapour_pressure_deficit**: The vapour pressure deficit at the address at the game start time.
350
+ * **wind_speed_10m**: The wind speed at 10m at the address at the game start time.
351
+ * **wind_speed_80m**: The wind speed at 80m at the address at the game start time.
352
+ * **wind_speed_120m**: The wind speed at 120m at the address at the game start time.
353
+ * **wind_speed_180m**: The wind speed at 180m at the address at the game start time.
354
+ * **wind_direction_10m**: The wind direction at 10m at the address at the game start time.
355
+ * **wind_direction_80m**: The wind direction at 80m at the address at the game start time.
356
+ * **wind_direction_120m**: The wind direction at 120m at the address at the game start time.
357
+ * **wind_direction_180m**: The wind direction at 180m at the address at the game start time.
358
+ * **wind_gusts**: The wind gusts at the address at the game start time.
359
+ * **temperature_80m**: The temperature at 80m at the address at the game start time.
360
+ * **temperature_120m**: The temperature at 120m at the address at the game start time.
361
+ * **temperature_180m**: The temperature at 180m at the address at the game start time.
362
+ * **soil_temperature_0cm**: The soil temperature at the address at the game start time.
363
+ * **soil_temperature_6cm**: The soil temperature at 6cm at the address at the game start time.
364
+ * **soil_temperature_18cm**: The soil temperature at 18cm at the address at the game start time.
365
+ * **soil_temperature_54cm**: The soil temperature at 54cm at the address at the game start time.
366
+ * **soil_moisture_0cm**: The soil moisture at the address at the game start time.
367
+ * **soil_moisture_1cm**: The soil moisture at 1cm at the address at the game start time.
368
+ * **soil_moisture_3cm**: The soil moisture at 3cm at the address at the game start time.
369
+ * **soil_moisture_9cm**: The soil moisture at 9cm at the address at the game start time.
370
+ * **soil_moisture_27cm**: The soil moisture at 27cm at the address at the game start time.
371
+ * **daily_weather_code**: The daily weather code at the address at the game start time.
372
+ * **daily_maximum_temperature_2m**: The daily maximum temperature at 2m at the address at the game start time.
373
+ * **daily_minimum_temperature_2m**: The daily minimum temperature at 2m at the address at the game start time.
374
+ * **daily_maximum_apparent_temperature_2m**: The daily maximum apparent temperature at 2m at the address at the game start time.
375
+ * **daily_minimum_apparent_temperature_2m**: The daily minimum apparent temperature at 2m at the address at the game start time.
376
+ * **sunrise**: The sunrise at the address at the game start time.
377
+ * **sunset**: The sunset at the address at the game start time.
378
+ * **daylight_duration**: The daylight duration at the address at the game start time.
379
+ * **sunshine_duration**: The sunshine duration at the address at the game start time.
380
+ * **uv_index**: The UV index at the address at the game start time.
381
+ * **uv_index_clear_sky**: The UV index for clear sky at the address at the game start time.
382
+ * **rain_sum**: The rain sum at the address at the game start time.
383
+ * **showers_sum**: The showers sum at the address at the game start time.
384
+ * **snowfall_sum**: The snowfall sum at the address at the game start time.
385
+ * **precipitation_sum**: The precipitation sum at the address at the game start time.
386
+ * **precipitation_hours**: The precipitation hours at the address at the game start time.
387
+ * **precipitation_probability_max**: The maximum precipitation probability at the address at the game start time.
388
+ * **maximum_wind_speed_10m**: The maximum wind speed at 10m at the address at the game start time.
389
+ * **maximum_wind_gusts_10m**: The maximum wind gusts at 10m at the address at the game start time.
390
+ * **dominant_wind_direction**: The dominant wind direction at the address at the game start time.
391
+ * **shortwave_radiation_sum**: The shortwave radiation sum at the address at the game start time.
392
+ * **daily_reference_evapotranspiration**: The daily reference evapotranspiration at the address at the game start time.
393
+ * **version**: The version of the weather model.
329
394
 
330
395
  #### News
331
396
 
@@ -49,6 +49,7 @@ Python 3.11.6:
49
49
  - [cchardet](https://github.com/PyYoshi/cChardet)
50
50
  - [lxml](https://lxml.de/)
51
51
  - [gender-guesser](https://github.com/lead-ratings/gender-guesser)
52
+ - [scrapesession](https://github.com/8W9aG/scrapesession)
52
53
 
53
54
  ## Raison D'être :thought_balloon:
54
55
 
@@ -266,6 +267,69 @@ The forecasted weather one day out at the address of the game start time.
266
267
 
267
268
  * **temperature**: The temperature at the address at the game start time.
268
269
  * **relative_humidity**: The relative humidity at the address at the game start time.
270
+ * **dew_point**: The temperature at the address at the game start time.
271
+ * **apparent_temperature**: The apparent temperature at the address at the game start time.
272
+ * **precipitation_probability**: The precipitation probability at the address at the game start time.
273
+ * **precipitation**: The precipitation at the address at the game start time.
274
+ * **rain**: The rain at the address at the game start time.
275
+ * **showers**: The showers at the address at the game start time.
276
+ * **snowfall**: The snowfall at the address at the game start time.
277
+ * **snow_depth**: The snow depth at the address at the game start time.
278
+ * **weather_code**: The weather code at the address at the game start time.
279
+ * **sealevel_pressure**: The sealevel pressure at the address at the game start time.
280
+ * **surface_pressure**: The surface pressure at the address at the game start time.
281
+ * **cloud_cover_total**: The total cloud cover at the address at the game start time.
282
+ * **cloud_cover_low**: The low cloud cover at the address at the game start time.
283
+ * **cloud_cover_mid**: The mid cloud cover at the address at the game start time.
284
+ * **cloud_cover_high**: The high cloud cover at the address at the game start time.
285
+ * **visibility**: The visibility at the address at the game start time.
286
+ * **evapotranspiration**: The evapotranspiration at the address at the game start time.
287
+ * **reference_evapotranspiration**: The reference evapotranspiration at the address at the game start time.
288
+ * **vapour_pressure_deficit**: The vapour pressure deficit at the address at the game start time.
289
+ * **wind_speed_10m**: The wind speed at 10m at the address at the game start time.
290
+ * **wind_speed_80m**: The wind speed at 80m at the address at the game start time.
291
+ * **wind_speed_120m**: The wind speed at 120m at the address at the game start time.
292
+ * **wind_speed_180m**: The wind speed at 180m at the address at the game start time.
293
+ * **wind_direction_10m**: The wind direction at 10m at the address at the game start time.
294
+ * **wind_direction_80m**: The wind direction at 80m at the address at the game start time.
295
+ * **wind_direction_120m**: The wind direction at 120m at the address at the game start time.
296
+ * **wind_direction_180m**: The wind direction at 180m at the address at the game start time.
297
+ * **wind_gusts**: The wind gusts at the address at the game start time.
298
+ * **temperature_80m**: The temperature at 80m at the address at the game start time.
299
+ * **temperature_120m**: The temperature at 120m at the address at the game start time.
300
+ * **temperature_180m**: The temperature at 180m at the address at the game start time.
301
+ * **soil_temperature_0cm**: The soil temperature at the address at the game start time.
302
+ * **soil_temperature_6cm**: The soil temperature at 6cm at the address at the game start time.
303
+ * **soil_temperature_18cm**: The soil temperature at 18cm at the address at the game start time.
304
+ * **soil_temperature_54cm**: The soil temperature at 54cm at the address at the game start time.
305
+ * **soil_moisture_0cm**: The soil moisture at the address at the game start time.
306
+ * **soil_moisture_1cm**: The soil moisture at 1cm at the address at the game start time.
307
+ * **soil_moisture_3cm**: The soil moisture at 3cm at the address at the game start time.
308
+ * **soil_moisture_9cm**: The soil moisture at 9cm at the address at the game start time.
309
+ * **soil_moisture_27cm**: The soil moisture at 27cm at the address at the game start time.
310
+ * **daily_weather_code**: The daily weather code at the address at the game start time.
311
+ * **daily_maximum_temperature_2m**: The daily maximum temperature at 2m at the address at the game start time.
312
+ * **daily_minimum_temperature_2m**: The daily minimum temperature at 2m at the address at the game start time.
313
+ * **daily_maximum_apparent_temperature_2m**: The daily maximum apparent temperature at 2m at the address at the game start time.
314
+ * **daily_minimum_apparent_temperature_2m**: The daily minimum apparent temperature at 2m at the address at the game start time.
315
+ * **sunrise**: The sunrise at the address at the game start time.
316
+ * **sunset**: The sunset at the address at the game start time.
317
+ * **daylight_duration**: The daylight duration at the address at the game start time.
318
+ * **sunshine_duration**: The sunshine duration at the address at the game start time.
319
+ * **uv_index**: The UV index at the address at the game start time.
320
+ * **uv_index_clear_sky**: The UV index for clear sky at the address at the game start time.
321
+ * **rain_sum**: The rain sum at the address at the game start time.
322
+ * **showers_sum**: The showers sum at the address at the game start time.
323
+ * **snowfall_sum**: The snowfall sum at the address at the game start time.
324
+ * **precipitation_sum**: The precipitation sum at the address at the game start time.
325
+ * **precipitation_hours**: The precipitation hours at the address at the game start time.
326
+ * **precipitation_probability_max**: The maximum precipitation probability at the address at the game start time.
327
+ * **maximum_wind_speed_10m**: The maximum wind speed at 10m at the address at the game start time.
328
+ * **maximum_wind_gusts_10m**: The maximum wind gusts at 10m at the address at the game start time.
329
+ * **dominant_wind_direction**: The dominant wind direction at the address at the game start time.
330
+ * **shortwave_radiation_sum**: The shortwave radiation sum at the address at the game start time.
331
+ * **daily_reference_evapotranspiration**: The daily reference evapotranspiration at the address at the game start time.
332
+ * **version**: The version of the weather model.
269
333
 
270
334
  #### News
271
335
 
@@ -34,3 +34,4 @@ playwright>=1.51.0
34
34
  cchardet>=2.2.0a2
35
35
  lxml>=5.3.0
36
36
  gender-guesser>=0.4.0
37
+ scrapesession>=0.0.1
@@ -26,7 +26,7 @@ def install_requires() -> typing.List[str]:
26
26
 
27
27
  setup(
28
28
  name='sportsball',
29
- version='0.5.22',
29
+ version='0.6.0',
30
30
  description='A library for pulling in and normalising sports stats.',
31
31
  long_description=long_description,
32
32
  long_description_content_type='text/markdown',
@@ -4,4 +4,4 @@
4
4
  import cchardet # type: ignore
5
5
  import lxml # noqa: ignore
6
6
 
7
- __VERSION__ = "0.5.22"
7
+ __VERSION__ = "0.6.0"
@@ -10,9 +10,9 @@ from typing import Iterator
10
10
  from bs4 import BeautifulSoup, Tag
11
11
  from dateutil.parser import parse
12
12
  from playwright.sync_api import Playwright, sync_playwright
13
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
13
14
 
14
15
  from ....playwright import ensure_install
15
- from ....proxy_session import ProxySession
16
16
  from ...game_model import GameModel
17
17
  from ...league import League
18
18
  from ...league_model import LeagueModel
@@ -22,7 +22,7 @@ from .afl_afl_game_model import create_afl_afl_game_model, parse_players_v1
22
22
 
23
23
  def _parse_v1(
24
24
  soup: BeautifulSoup,
25
- session: ProxySession,
25
+ session: ScrapeSession,
26
26
  ladder: list[str],
27
27
  html_url: str,
28
28
  playwright: Playwright,
@@ -143,7 +143,7 @@ def _parse_v2_soup(
143
143
 
144
144
  def _parse_v2(
145
145
  soup: BeautifulSoup,
146
- session: ProxySession,
146
+ session: ScrapeSession,
147
147
  ladder: list[str],
148
148
  html_url: str,
149
149
  playwright: Playwright,
@@ -163,7 +163,7 @@ def _parse_v2(
163
163
 
164
164
  def _parse_game_info(
165
165
  html: str,
166
- session: ProxySession,
166
+ session: ScrapeSession,
167
167
  ladder: list[str],
168
168
  html_url: str,
169
169
  playwright: Playwright,
@@ -180,7 +180,7 @@ def _parse_game_info(
180
180
  class AFLAFLLeagueModel(LeagueModel):
181
181
  """AFL AFL implementation of the league model."""
182
182
 
183
- def __init__(self, session: ProxySession, position: int | None = None) -> None:
183
+ def __init__(self, session: ScrapeSession, position: int | None = None) -> None:
184
184
  super().__init__(League.AFL, session, position=position)
185
185
 
186
186
  @classmethod
@@ -11,8 +11,8 @@ from urllib.parse import urlparse
11
11
  import tqdm
12
12
  from bs4 import BeautifulSoup
13
13
  from dateutil import parser
14
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
14
15
 
15
- from ....proxy_session import ProxySession
16
16
  from ...game_model import GameModel
17
17
  from ...league import League
18
18
  from ...league_model import LeagueModel
@@ -42,8 +42,8 @@ def _find_dt(td_text: str, season_url: str) -> datetime.datetime:
42
42
  class AFLAFLTablesLeagueModel(LeagueModel):
43
43
  """AFL AFLTables implementation of the league model."""
44
44
 
45
- def __init__(self, session: ProxySession, position: int | None = None) -> None:
46
- super().__init__(League.AFL, session)
45
+ def __init__(self, session: ScrapeSession, position: int | None = None) -> None:
46
+ super().__init__(League.AFL, session, position=position)
47
47
 
48
48
  @classmethod
49
49
  def name(cls) -> str:
@@ -1,6 +1,7 @@
1
1
  """AFL aussportsbetting league model."""
2
2
 
3
- from ....proxy_session import ProxySession
3
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
4
+
4
5
  from ...aussportsbetting.aussportsbetting_league_model import \
5
6
  AusSportsBettingLeagueModel
6
7
  from ...league import League
@@ -9,7 +10,7 @@ from ...league import League
9
10
  class AFLAusSportsBettingLeagueModel(AusSportsBettingLeagueModel):
10
11
  """AFL AusSportsBetting implementation of the league model."""
11
12
 
12
- def __init__(self, session: ProxySession, position: int | None = None) -> None:
13
+ def __init__(self, session: ScrapeSession, position: int | None = None) -> None:
13
14
  super().__init__(League.AFL, session, position=position)
14
15
 
15
16
  @classmethod
@@ -1,6 +1,7 @@
1
1
  """AFL combined league model."""
2
2
 
3
- from ....proxy_session import ProxySession
3
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
4
+
4
5
  from ...combined.combined_league_model import CombinedLeagueModel
5
6
  from ...league import League
6
7
  from ..afl.afl_afl_league_model import AFLAFLLeagueModel
@@ -206,6 +207,7 @@ AFL_VENUE_IDENTITY_MAP = {
206
207
  "norwood": NORWOOD,
207
208
  "summit": SUMMIT,
208
209
  "barossa": BAROSSA_PARK,
210
+ "hands": HANDS_OVAL,
209
211
  # Aus Sports Betting
210
212
  "MCG": MCG,
211
213
  "SCG": SCG,
@@ -275,7 +277,7 @@ AFL_VENUE_IDENTITY_MAP = {
275
277
  class AFLCombinedLeagueModel(CombinedLeagueModel):
276
278
  """AFL combined implementation of the league model."""
277
279
 
278
- def __init__(self, session: ProxySession, league_filter: str | None) -> None:
280
+ def __init__(self, session: ScrapeSession, league_filter: str | None) -> None:
279
281
  super().__init__(
280
282
  session,
281
283
  League.AFL,
@@ -2,7 +2,8 @@
2
2
 
3
3
  # pylint: disable=line-too-long
4
4
 
5
- from ....proxy_session import ProxySession
5
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
6
+
6
7
  from ...espn.espn_league_model import ESPNLeagueModel
7
8
  from ...league import League
8
9
 
@@ -12,7 +13,7 @@ _SEASON_URL = "https://sports.core.api.espn.com/v2/sports/australian-football/le
12
13
  class AFLESPNLeagueModel(ESPNLeagueModel):
13
14
  """AFL ESPN implementation of the league model."""
14
15
 
15
- def __init__(self, session: ProxySession, position: int | None = None) -> None:
16
+ def __init__(self, session: ScrapeSession, position: int | None = None) -> None:
16
17
  super().__init__(_SEASON_URL, League.AFL, session, position=position)
17
18
 
18
19
  @classmethod
@@ -2,7 +2,8 @@
2
2
 
3
3
  # pylint: disable=line-too-long
4
4
 
5
- from ....proxy_session import ProxySession
5
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
6
+
6
7
  from ...league import League
7
8
  from ...oddsportal.oddsportal_league_model import OddsPortalLeagueModel
8
9
 
@@ -10,7 +11,7 @@ from ...oddsportal.oddsportal_league_model import OddsPortalLeagueModel
10
11
  class AFLOddsPortalLeagueModel(OddsPortalLeagueModel):
11
12
  """AFL OddsPortal implementation of the league model."""
12
13
 
13
- def __init__(self, session: ProxySession, position: int | None = None) -> None:
14
+ def __init__(self, session: ScrapeSession, position: int | None = None) -> None:
14
15
  super().__init__(League.AFL, session, position=position)
15
16
 
16
17
  @classmethod
@@ -7,8 +7,8 @@ from typing import Any, Iterator
7
7
  import tqdm
8
8
  from dateutil.parser import parse
9
9
  from openpyxl import load_workbook
10
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
10
11
 
11
- from ...proxy_session import ProxySession
12
12
  from ..game_model import GameModel
13
13
  from ..league import League
14
14
  from ..league_model import LeagueModel
@@ -21,7 +21,7 @@ class AusSportsBettingLeagueModel(LeagueModel):
21
21
  def __init__(
22
22
  self,
23
23
  league: League,
24
- session: ProxySession,
24
+ session: ScrapeSession,
25
25
  position: int | None = None,
26
26
  ) -> None:
27
27
  super().__init__(league, session, position=position)
@@ -6,7 +6,8 @@ import multiprocessing
6
6
  from concurrent.futures import ThreadPoolExecutor
7
7
  from typing import Any, Iterator
8
8
 
9
- from ...proxy_session import ProxySession
9
+ from scrapesession.scrapesession import ScrapeSession # type: ignore
10
+
10
11
  from ..game_model import GameModel
11
12
  from ..league import League
12
13
  from ..league_model import LeagueModel
@@ -22,7 +23,7 @@ class CombinedLeagueModel(LeagueModel):
22
23
 
23
24
  def __init__(
24
25
  self,
25
- session: ProxySession,
26
+ session: ScrapeSession,
26
27
  league: League,
27
28
  league_models: list[LeagueModel],
28
29
  league_filter: str | None,