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.
- {sportsball-0.5.22/sportsball.egg-info → sportsball-0.6.0}/PKG-INFO +66 -1
- {sportsball-0.5.22 → sportsball-0.6.0}/README.md +64 -0
- sportsball-0.5.22/sportsball.egg-info/requires.txt → sportsball-0.6.0/requirements.txt +1 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/setup.py +1 -1
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/__init__.py +1 -1
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_league_model.py +5 -5
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_league_model.py +3 -3
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/aussportsbetting/afl_aussportsbetting_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/combined/afl_combined_league_model.py +4 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/espn/afl_espn_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/oddsportal/afl_oddsportal_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_league_model.py +3 -2
- sportsball-0.6.0/sportsball/data/combined/combined_weather_model.py +359 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/google/google_address_model.py +1 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_coach_model.py +4 -4
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_game_model.py +4 -4
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_player_model.py +4 -4
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_team_model.py +4 -4
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/league_model.py +21 -3
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/model.py +13 -6
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/combined/nba_combined_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/espn/nba_espn_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/nba_nba_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/oddsportal/nba_oddsportal_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsdb/nba_sportsdb_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsreference/nba_sportsreference_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/combined/ncaab_combined_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/espn/ncaab_espn_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/oddsportal/ncaab_oddsportal_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/sportsreference/ncaab_sportsreference_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/combined/ncaaf_combined_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/espn/ncaaf_espn_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/oddsportal/ncaaf_oddsportal_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/aussportsbetting/nfl_aussportsbetting_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/combined/nfl_combined_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/espn/nfl_espn_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/oddsportal/nfl_oddsportal_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/position.py +1 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/sportsdb/nfl_sportsdb_league_model.py +3 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/decrypt.py +3 -4
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_game_model.py +4 -4
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_coach_model.py +4 -4
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_game_model.py +6 -6
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_league_model.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_player_model.py +1 -1
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_team_model.py +4 -4
- sportsball-0.6.0/sportsball/data/weather/gribstream/gribstream_weather_model.py +159 -0
- sportsball-0.6.0/sportsball/data/weather/openmeteo/openmeteo_weather_model.py +480 -0
- sportsball-0.6.0/sportsball/data/weather_model.py +77 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/sportsball.py +11 -3
- {sportsball-0.5.22 → sportsball-0.6.0/sportsball.egg-info}/PKG-INFO +66 -1
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/SOURCES.txt +0 -3
- sportsball-0.5.22/requirements.txt → sportsball-0.6.0/sportsball.egg-info/requires.txt +2 -1
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/hkjc/hkjc_hkjc_game_model_test.py +2 -3
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/hkjc/hkjc_hkjc_player_model_test.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/decrypt_test.py +2 -2
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/oddsportal_game_model_test.py +2 -3
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_team_model_test.py +2 -2
- sportsball-0.5.22/sportsball/data/combined/combined_weather_model.py +0 -22
- sportsball-0.5.22/sportsball/data/weather/gribstream/gribstream_weather_model.py +0 -85
- sportsball-0.5.22/sportsball/data/weather/openmeteo/openmeteo_weather_model.py +0 -181
- sportsball-0.5.22/sportsball/data/weather_model.py +0 -10
- sportsball-0.5.22/sportsball/proxy_session.py +0 -326
- sportsball-0.5.22/sportsball/session.py +0 -3
- sportsball-0.5.22/tests/proxy_session_test.py +0 -63
- {sportsball-0.5.22 → sportsball-0.6.0}/LICENSE +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/MANIFEST.in +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/setup.cfg +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/__main__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/args.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/cache.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/address_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_bookie_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_odds_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_player_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afl/afl_afl_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_coach_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_player_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/aussportsbetting/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/combined/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/espn/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/oddsportal/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/position.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_bookie_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_odds_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/aussportsbetting/aussportsbetting_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/bet.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/bookie_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/coach_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_address_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_coach_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_player_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/combined_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/combined/null_check.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/dividend_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_bookie_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_coach_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_odds_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_player_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/espn/espn_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/field_type.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/google/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/google/google_news_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_bookie_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_dividend_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_odds_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_owner_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/hkjc/hkjc_hkjc_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/hkjc/position.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/league.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/combined/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/espn/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/nba_nba_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nba/nba_nba_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_player_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/nbacom/nba_nbacom_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/oddsportal/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/position.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsdb/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nba/sportsreference/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/combined/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/espn/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/oddsportal/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaab/sportsreference/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/combined/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/espn/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/ncaaf/oddsportal/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/news_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/aussportsbetting/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/combined/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/espn/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/oddsportal/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/nfl/sportsdb/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/odds_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_bookie_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_odds_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/oddsportal/oddsportal_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/owner_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/player_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/season_type.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sex.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/social_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/species.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_game_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsdb/sportsdb_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/sportsreference/sportsreference_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/team_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/gribstream/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/multi_weather_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/weather/openmeteo/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/wikipedia/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/wikipedia/wikipedia_venue_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/x/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/x/x_social_model.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/logger.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/loglevel.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/playwright.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/vendor/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball/vendor/pygooglenews/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/dependency_links.txt +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/entry_points.txt +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/not-zip-safe +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/sportsball.egg-info/top_level.txt +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afl/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afl/afl_afl_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afl/afl_afl_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_coach_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/afl/afltables/afl_afltables_player_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/aussportsbetting/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/aussportsbetting/aussportsbetting_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_player_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_team_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/combined/combined_venue_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/espn/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/espn/espn_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/espn/espn_player_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/google/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/google/google_address_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/google/google_news_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/hkjc/hkjc/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/nba_nba_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/nba_nba_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/nba/nba_nba_team_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsdb/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsdb/nba_sportsdb_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsreference/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nba/sportsreference/nba_sportsreference_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/ncaab/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/ncaab/sportsreference/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/ncaab/sportsreference/ncaab_sportsreference_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nfl/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nfl/sportsdb/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/nfl/sportsdb/nfl_sportsdb_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/oddsportal/oddsportal_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/player_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/social_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_team_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsdb/sportsdb_venue_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_coach_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_game_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_league_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_player_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/sportsreference/sportsreference_venue_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/team_model_test.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/x/__init__.py +0 -0
- {sportsball-0.5.22 → sportsball-0.6.0}/tests/data/x/x_social_model_test.py +0 -0
- {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.
|
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
|
|
@@ -26,7 +26,7 @@ def install_requires() -> typing.List[str]:
|
|
26
26
|
|
27
27
|
setup(
|
28
28
|
name='sportsball',
|
29
|
-
version='0.
|
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',
|
@@ -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:
|
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:
|
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:
|
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:
|
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
|
{sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/afltables/afl_afltables_league_model.py
RENAMED
@@ -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:
|
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
|
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:
|
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
|
{sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/combined/afl_combined_league_model.py
RENAMED
@@ -1,6 +1,7 @@
|
|
1
1
|
"""AFL combined league model."""
|
2
2
|
|
3
|
-
from
|
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:
|
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
|
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:
|
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
|
{sportsball-0.5.22 → sportsball-0.6.0}/sportsball/data/afl/oddsportal/afl_oddsportal_league_model.py
RENAMED
@@ -2,7 +2,8 @@
|
|
2
2
|
|
3
3
|
# pylint: disable=line-too-long
|
4
4
|
|
5
|
-
from
|
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:
|
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:
|
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
|
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:
|
26
|
+
session: ScrapeSession,
|
26
27
|
league: League,
|
27
28
|
league_models: list[LeagueModel],
|
28
29
|
league_filter: str | None,
|