datafc 2.4.0__tar.gz → 2.5.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.
- {datafc-2.4.0 → datafc-2.5.0}/PKG-INFO +9 -3
- {datafc-2.4.0 → datafc-2.5.0}/README.md +8 -2
- {datafc-2.4.0 → datafc-2.5.0}/datafc/__init__.py +1 -1
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/_core.py +817 -816
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_player_attribute_overviews_data.py +74 -74
- {datafc-2.4.0 → datafc-2.5.0}/datafc.egg-info/PKG-INFO +9 -3
- {datafc-2.4.0 → datafc-2.5.0}/pyproject.toml +1 -1
- {datafc-2.4.0 → datafc-2.5.0}/LICENSE +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/exceptions.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/__init__.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/_parsers.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/aio.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_average_positions_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_coordinates_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_goal_networks_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_incidents_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_league_player_stats_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_lineups_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_match_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_match_details_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_match_h2h_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_match_odds_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_match_stats_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_momentum_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_past_matches_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_player_career_stats_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_player_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_player_match_log_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_player_national_team_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_player_stats_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_player_transfers_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_pregame_form_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_referee_stats_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_search_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_season_rounds_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_seasons_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_shots_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_squad_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_standings_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_substitutions_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_team_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_team_match_history_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_team_stats_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_team_transfers_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/sofascore/fetch_upcoming_matches_data.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/__init__.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_async_client.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_cache.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_client.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_config.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_helpers.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_save_files.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_tournament_info.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc/utils/_validate.py +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc.egg-info/SOURCES.txt +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc.egg-info/dependency_links.txt +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc.egg-info/requires.txt +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/datafc.egg-info/top_level.txt +0 -0
- {datafc-2.4.0 → datafc-2.5.0}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: datafc
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.5.0
|
|
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.
|
|
27
|
+
# datafc v2.5.0
|
|
28
28
|
|
|
29
29
|
## Overview
|
|
30
30
|
|
|
@@ -817,7 +817,7 @@ squad_df = squad_data(standings_df=standings_df)
|
|
|
817
817
|
df = player_data(squad_df=squad_df)
|
|
818
818
|
```
|
|
819
819
|
|
|
820
|
-
Columns: `player_id`, `player_name`, `date_of_birth`, `age`, `nationality`, `nationality_id`, `height`, `weight`, `preferred_foot`, `jersey_number`, `position`, `market_value`, `market_currency`, `team_id`, `team_name`.
|
|
820
|
+
Columns: `player_id`, `player_name`, `date_of_birth`, `age`, `nationality`, `nationality_id`, `height`, `weight`, `preferred_foot`, `jersey_number`, `position`, `position_detailed`, `market_value`, `market_currency`, `team_id`, `team_name`.
|
|
821
821
|
|
|
822
822
|
Dependencies: `squad_data`
|
|
823
823
|
|
|
@@ -935,6 +935,12 @@ Columns: `referee_id`, `referee_name`, `tournament_id`, `tournament_name`, `stat
|
|
|
935
935
|
|
|
936
936
|
## What's new
|
|
937
937
|
|
|
938
|
+
### v2.5.0
|
|
939
|
+
|
|
940
|
+
- **`player_data` now returns `position_detailed`.** New column containing Sofascore's detailed position list (e.g. `["AM", "MC", "RW"]`) alongside the existing single `position` field.
|
|
941
|
+
|
|
942
|
+
---
|
|
943
|
+
|
|
938
944
|
### v2.4.0
|
|
939
945
|
|
|
940
946
|
- **New function: `player_attribute_overviews_data`** — fetches Sofascore radar attribute snapshots (attacking, technical, tactical, defending, creativity) for each player in a squad. Includes the position-average baseline and previous-year history.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# datafc v2.
|
|
1
|
+
# datafc v2.5.0
|
|
2
2
|
|
|
3
3
|
## Overview
|
|
4
4
|
|
|
@@ -791,7 +791,7 @@ squad_df = squad_data(standings_df=standings_df)
|
|
|
791
791
|
df = player_data(squad_df=squad_df)
|
|
792
792
|
```
|
|
793
793
|
|
|
794
|
-
Columns: `player_id`, `player_name`, `date_of_birth`, `age`, `nationality`, `nationality_id`, `height`, `weight`, `preferred_foot`, `jersey_number`, `position`, `market_value`, `market_currency`, `team_id`, `team_name`.
|
|
794
|
+
Columns: `player_id`, `player_name`, `date_of_birth`, `age`, `nationality`, `nationality_id`, `height`, `weight`, `preferred_foot`, `jersey_number`, `position`, `position_detailed`, `market_value`, `market_currency`, `team_id`, `team_name`.
|
|
795
795
|
|
|
796
796
|
Dependencies: `squad_data`
|
|
797
797
|
|
|
@@ -909,6 +909,12 @@ Columns: `referee_id`, `referee_name`, `tournament_id`, `tournament_name`, `stat
|
|
|
909
909
|
|
|
910
910
|
## What's new
|
|
911
911
|
|
|
912
|
+
### v2.5.0
|
|
913
|
+
|
|
914
|
+
- **`player_data` now returns `position_detailed`.** New column containing Sofascore's detailed position list (e.g. `["AM", "MC", "RW"]`) alongside the existing single `position` field.
|
|
915
|
+
|
|
916
|
+
---
|
|
917
|
+
|
|
912
918
|
### v2.4.0
|
|
913
919
|
|
|
914
920
|
- **New function: `player_attribute_overviews_data`** — fetches Sofascore radar attribute snapshots (attacking, technical, tactical, defending, creativity) for each player in a squad. Includes the position-average baseline and previous-year history.
|