datafc 2.7.1__tar.gz → 2.7.2__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 (76) hide show
  1. {datafc-2.7.1 → datafc-2.7.2}/PKG-INFO +9 -3
  2. {datafc-2.7.1 → datafc-2.7.2}/README.md +8 -2
  3. {datafc-2.7.1 → datafc-2.7.2}/datafc/__init__.py +1 -1
  4. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_config.py +1 -0
  5. {datafc-2.7.1 → datafc-2.7.2}/datafc.egg-info/PKG-INFO +9 -3
  6. {datafc-2.7.1 → datafc-2.7.2}/pyproject.toml +1 -1
  7. {datafc-2.7.1 → datafc-2.7.2}/LICENSE +0 -0
  8. {datafc-2.7.1 → datafc-2.7.2}/datafc/clubelo/__init__.py +0 -0
  9. {datafc-2.7.1 → datafc-2.7.2}/datafc/clubelo/_client.py +0 -0
  10. {datafc-2.7.1 → datafc-2.7.2}/datafc/clubelo/_parsers.py +0 -0
  11. {datafc-2.7.1 → datafc-2.7.2}/datafc/clubelo/fetch_club_history_data.py +0 -0
  12. {datafc-2.7.1 → datafc-2.7.2}/datafc/clubelo/fetch_daily_ranking_data.py +0 -0
  13. {datafc-2.7.1 → datafc-2.7.2}/datafc/clubelo/fetch_fixtures_data.py +0 -0
  14. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/__init__.py +0 -0
  15. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/_client.py +0 -0
  16. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/_parsers.py +0 -0
  17. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/fetch_country_codes_data.py +0 -0
  18. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/fetch_country_matches_data.py +0 -0
  19. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/fetch_teams_data.py +0 -0
  20. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/fetch_tournament_codes_data.py +0 -0
  21. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/fetch_tournament_editions_data.py +0 -0
  22. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/fetch_tournament_groups_data.py +0 -0
  23. {datafc-2.7.1 → datafc-2.7.2}/datafc/eloratings/fetch_world_ranking_data.py +0 -0
  24. {datafc-2.7.1 → datafc-2.7.2}/datafc/exceptions.py +0 -0
  25. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/__init__.py +0 -0
  26. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/_core.py +0 -0
  27. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/_parsers.py +0 -0
  28. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/aio.py +0 -0
  29. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_average_positions_data.py +0 -0
  30. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_coordinates_data.py +0 -0
  31. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_formations_data.py +0 -0
  32. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_goal_networks_data.py +0 -0
  33. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_incidents_data.py +0 -0
  34. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_league_player_stats_data.py +0 -0
  35. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_lineups_data.py +0 -0
  36. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_match_data.py +0 -0
  37. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_match_details_data.py +0 -0
  38. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_match_h2h_data.py +0 -0
  39. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_match_odds_data.py +0 -0
  40. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_match_stats_data.py +0 -0
  41. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_momentum_data.py +0 -0
  42. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_past_matches_data.py +0 -0
  43. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_player_attribute_overviews_data.py +0 -0
  44. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_player_career_stats_data.py +0 -0
  45. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_player_data.py +0 -0
  46. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_player_match_log_data.py +0 -0
  47. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_player_national_team_data.py +0 -0
  48. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_player_stats_data.py +0 -0
  49. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_player_transfers_data.py +0 -0
  50. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_pregame_form_data.py +0 -0
  51. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_referee_stats_data.py +0 -0
  52. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_search_data.py +0 -0
  53. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_season_rounds_data.py +0 -0
  54. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_seasons_data.py +0 -0
  55. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_shots_data.py +0 -0
  56. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_squad_data.py +0 -0
  57. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_standings_data.py +0 -0
  58. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_substitutions_data.py +0 -0
  59. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_team_data.py +0 -0
  60. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_team_match_history_data.py +0 -0
  61. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_team_stats_data.py +0 -0
  62. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_team_transfers_data.py +0 -0
  63. {datafc-2.7.1 → datafc-2.7.2}/datafc/sofascore/fetch_upcoming_matches_data.py +0 -0
  64. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/__init__.py +0 -0
  65. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_async_client.py +0 -0
  66. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_cache.py +0 -0
  67. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_client.py +0 -0
  68. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_helpers.py +0 -0
  69. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_save_files.py +0 -0
  70. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_tournament_info.py +0 -0
  71. {datafc-2.7.1 → datafc-2.7.2}/datafc/utils/_validate.py +0 -0
  72. {datafc-2.7.1 → datafc-2.7.2}/datafc.egg-info/SOURCES.txt +0 -0
  73. {datafc-2.7.1 → datafc-2.7.2}/datafc.egg-info/dependency_links.txt +0 -0
  74. {datafc-2.7.1 → datafc-2.7.2}/datafc.egg-info/requires.txt +0 -0
  75. {datafc-2.7.1 → datafc-2.7.2}/datafc.egg-info/top_level.txt +0 -0
  76. {datafc-2.7.1 → datafc-2.7.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datafc
3
- Version: 2.7.1
3
+ Version: 2.7.2
4
4
  Summary: Fetch, process, and export structured football data.
5
5
  Author-email: Uraz Akgül <urazdev@gmail.com>
6
6
  License: MIT
@@ -24,7 +24,7 @@ Requires-Dist: pytest>=8.0; extra == "dev"
24
24
  Requires-Dist: pytest-mock>=3.12; extra == "dev"
25
25
  Dynamic: license-file
26
26
 
27
- # datafc v2.7.1
27
+ # datafc v2.7.2
28
28
 
29
29
  ## Overview
30
30
 
@@ -601,7 +601,7 @@ Parameters:
601
601
  - `tournament_stage` (str, optional): Required when `tournament_type` is set.
602
602
  - `"uefa"` options: `preliminary_semifinals`, `preliminary_final`, `qualification_round`, `qualification_playoff`, `group_stage_week`, `playoff_round`, `round_of_16`, `quarterfinals`, `semifinals`, `match_for_3rd_place`, `final`.
603
603
  - `"world_cup"` options: `group_stage_week`, `round_of_32`, `round_of_16`, `quarterfinals`, `semifinals`, `match_for_3rd_place`, `final`.
604
- - `"league_playoff"` options: `quarterfinals`, `semifinals`, `final`.
604
+ - `"league_playoff"` options: `qualification_round`, `quarterfinals`, `semifinals`, `final`. For `qualification_round`, `week_number` doubles as the round number in the slug (`1` → `qualification-round-1`, `2` → `qualification-round-2`).
605
605
 
606
606
  Columns: `country`, `tournament`, `season`, `week`, `game_id`, `home_team`, `home_team_id`, `away_team`, `away_team_id`, `injury_time_1`, `injury_time_2`, `start_timestamp`, `status`, `home_score_current`, `home_score_display`, `home_score_period1`, `home_score_period2`, `home_score_normaltime`, `away_score_current`, `away_score_display`, `away_score_period1`, `away_score_period2`, `away_score_normaltime`.
607
607
 
@@ -1078,6 +1078,12 @@ eloratings.set_eloratings_base_url("http://www.eloratings.net")
1078
1078
 
1079
1079
  ## What's new
1080
1080
 
1081
+ ### v2.7.2
1082
+
1083
+ - **`league_playoff` gains `qualification_round`.** `match_data` and `past_matches_data` now cover the early elimination rounds of domestic promotion playoffs (e.g. TFF 1. Lig 1. and 2. eleme turu). `week_number` doubles as the round number in the slug (`1` → `qualification-round-1`, `2` → `qualification-round-2`), matching the existing UEFA `qualification_round` convention.
1084
+
1085
+ ---
1086
+
1081
1087
  ### v2.7.1
1082
1088
 
1083
1089
  - **New `tournament_type="league_playoff"`** for `match_data` and `past_matches_data`. Covers domestic promotion playoffs (e.g. TFF 1. Lig, EFL Championship) with `quarterfinals`, `semifinals`, and `final` stages. Use `season_rounds_data` to discover the `week_number` for each stage.
@@ -1,4 +1,4 @@
1
- # datafc v2.7.1
1
+ # datafc v2.7.2
2
2
 
3
3
  ## Overview
4
4
 
@@ -575,7 +575,7 @@ Parameters:
575
575
  - `tournament_stage` (str, optional): Required when `tournament_type` is set.
576
576
  - `"uefa"` options: `preliminary_semifinals`, `preliminary_final`, `qualification_round`, `qualification_playoff`, `group_stage_week`, `playoff_round`, `round_of_16`, `quarterfinals`, `semifinals`, `match_for_3rd_place`, `final`.
577
577
  - `"world_cup"` options: `group_stage_week`, `round_of_32`, `round_of_16`, `quarterfinals`, `semifinals`, `match_for_3rd_place`, `final`.
578
- - `"league_playoff"` options: `quarterfinals`, `semifinals`, `final`.
578
+ - `"league_playoff"` options: `qualification_round`, `quarterfinals`, `semifinals`, `final`. For `qualification_round`, `week_number` doubles as the round number in the slug (`1` → `qualification-round-1`, `2` → `qualification-round-2`).
579
579
 
580
580
  Columns: `country`, `tournament`, `season`, `week`, `game_id`, `home_team`, `home_team_id`, `away_team`, `away_team_id`, `injury_time_1`, `injury_time_2`, `start_timestamp`, `status`, `home_score_current`, `home_score_display`, `home_score_period1`, `home_score_period2`, `home_score_normaltime`, `away_score_current`, `away_score_display`, `away_score_period1`, `away_score_period2`, `away_score_normaltime`.
581
581
 
@@ -1052,6 +1052,12 @@ eloratings.set_eloratings_base_url("http://www.eloratings.net")
1052
1052
 
1053
1053
  ## What's new
1054
1054
 
1055
+ ### v2.7.2
1056
+
1057
+ - **`league_playoff` gains `qualification_round`.** `match_data` and `past_matches_data` now cover the early elimination rounds of domestic promotion playoffs (e.g. TFF 1. Lig 1. and 2. eleme turu). `week_number` doubles as the round number in the slug (`1` → `qualification-round-1`, `2` → `qualification-round-2`), matching the existing UEFA `qualification_round` convention.
1058
+
1059
+ ---
1060
+
1055
1061
  ### v2.7.1
1056
1062
 
1057
1063
  - **New `tournament_type="league_playoff"`** for `match_data` and `past_matches_data`. Covers domestic promotion playoffs (e.g. TFF 1. Lig, EFL Championship) with `quarterfinals`, `semifinals`, and `final` stages. Use `season_rounds_data` to discover the `week_number` for each stage.
@@ -1,4 +1,4 @@
1
- __version__ = "2.7.1"
1
+ __version__ = "2.7.2"
2
2
 
3
3
  from .sofascore import *
4
4
  from . import clubelo
@@ -112,6 +112,7 @@ TOURNAMENT_URL_PATTERNS = {
112
112
  "final": "{base_url}/api/v1/unique-tournament/{tournament_id}/season/{season_id}/events/round/{week_number}/slug/final",
113
113
  },
114
114
  "league_playoff": {
115
+ "qualification_round": "{base_url}/api/v1/unique-tournament/{tournament_id}/season/{season_id}/events/round/{week_number}/slug/qualification-round-{week_number}",
115
116
  "quarterfinals": "{base_url}/api/v1/unique-tournament/{tournament_id}/season/{season_id}/events/round/{week_number}/slug/quarterfinals",
116
117
  "semifinals": "{base_url}/api/v1/unique-tournament/{tournament_id}/season/{season_id}/events/round/{week_number}/slug/semifinals",
117
118
  "final": "{base_url}/api/v1/unique-tournament/{tournament_id}/season/{season_id}/events/round/{week_number}/slug/final",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: datafc
3
- Version: 2.7.1
3
+ Version: 2.7.2
4
4
  Summary: Fetch, process, and export structured football data.
5
5
  Author-email: Uraz Akgül <urazdev@gmail.com>
6
6
  License: MIT
@@ -24,7 +24,7 @@ Requires-Dist: pytest>=8.0; extra == "dev"
24
24
  Requires-Dist: pytest-mock>=3.12; extra == "dev"
25
25
  Dynamic: license-file
26
26
 
27
- # datafc v2.7.1
27
+ # datafc v2.7.2
28
28
 
29
29
  ## Overview
30
30
 
@@ -601,7 +601,7 @@ Parameters:
601
601
  - `tournament_stage` (str, optional): Required when `tournament_type` is set.
602
602
  - `"uefa"` options: `preliminary_semifinals`, `preliminary_final`, `qualification_round`, `qualification_playoff`, `group_stage_week`, `playoff_round`, `round_of_16`, `quarterfinals`, `semifinals`, `match_for_3rd_place`, `final`.
603
603
  - `"world_cup"` options: `group_stage_week`, `round_of_32`, `round_of_16`, `quarterfinals`, `semifinals`, `match_for_3rd_place`, `final`.
604
- - `"league_playoff"` options: `quarterfinals`, `semifinals`, `final`.
604
+ - `"league_playoff"` options: `qualification_round`, `quarterfinals`, `semifinals`, `final`. For `qualification_round`, `week_number` doubles as the round number in the slug (`1` → `qualification-round-1`, `2` → `qualification-round-2`).
605
605
 
606
606
  Columns: `country`, `tournament`, `season`, `week`, `game_id`, `home_team`, `home_team_id`, `away_team`, `away_team_id`, `injury_time_1`, `injury_time_2`, `start_timestamp`, `status`, `home_score_current`, `home_score_display`, `home_score_period1`, `home_score_period2`, `home_score_normaltime`, `away_score_current`, `away_score_display`, `away_score_period1`, `away_score_period2`, `away_score_normaltime`.
607
607
 
@@ -1078,6 +1078,12 @@ eloratings.set_eloratings_base_url("http://www.eloratings.net")
1078
1078
 
1079
1079
  ## What's new
1080
1080
 
1081
+ ### v2.7.2
1082
+
1083
+ - **`league_playoff` gains `qualification_round`.** `match_data` and `past_matches_data` now cover the early elimination rounds of domestic promotion playoffs (e.g. TFF 1. Lig 1. and 2. eleme turu). `week_number` doubles as the round number in the slug (`1` → `qualification-round-1`, `2` → `qualification-round-2`), matching the existing UEFA `qualification_round` convention.
1084
+
1085
+ ---
1086
+
1081
1087
  ### v2.7.1
1082
1088
 
1083
1089
  - **New `tournament_type="league_playoff"`** for `match_data` and `past_matches_data`. Covers domestic promotion playoffs (e.g. TFF 1. Lig, EFL Championship) with `quarterfinals`, `semifinals`, and `final` stages. Use `season_rounds_data` to discover the `week_number` for each stage.
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "datafc"
7
- version = "2.7.1"
7
+ version = "2.7.2"
8
8
  description = "Fetch, process, and export structured football data."
9
9
  readme = "README.md"
10
10
  license = { text = "MIT" }
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes