-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Refactored `cfbd_json_py.games.get_cfbd_player_game_stats()`, `cfbd_json_py.plays.get_cfbd_pbp_play_types()`, and `cfbd_json_py.players.get_cfbd_player_season_stats()` to use a significantly faster process to parse player stats. - Changed `print()` statements into `logging.info()` statements for `cfbd_json_py.games.get_cfbd_player_advanced_game_stats()` - For `cfbd_json_py.metrics.get_cfbd_predicted_ppa_from_down_distance()`, a `logging.warn()` call is now a `logging.warning()` call due to a pending deprecation of `logging.warn()`. - Fixed an issue found in `cfbd_json_py.players.get_cfbd_pbp_stats()` where the function would warn the user about an issue that the user should not have triggered. - Removed `tqdm` integration with `cfbd_json_py.plays.get_cfbd_pbp_play_types()`, `cfbd_json_py.rankings.get_cfbd_poll rankings()`. - Updated the package version to `0.2.4`.
- Loading branch information
Showing
35 changed files
with
16,452 additions
and
21,288 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"cSpell.words": [ | ||
"Opportunies" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Creation Date: 08/30/2023 01:13 EDT | ||
# Last Updated Date: 08/13/2024 02:10 PM EDT | ||
# Last Updated Date: 08/28/2024 11:00 PM EDT | ||
# Author: Joseph Armstrong ([email protected]) | ||
# File Name: betting.py | ||
# Purpose: Houses functions pertaining to betting data within the CFBD API. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Creation Date: 08/30/2023 01:13 EDT | ||
# Last Updated Date: 08/13/2024 02:10 PM EDT | ||
# Last Updated Date: 08/28/2024 11:00 PM EDT | ||
# Author: Joseph Armstrong ([email protected]) | ||
# File Name: drives.py | ||
# Purpose: Houses functions pertaining to CFB drive data within the CFBD API. | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Creation Date: 08/30/2023 01:13 EDT | ||
# Last Updated Date: 08/13/2024 02:10 PM EDT | ||
# Last Updated Date: 09/16/2024 06:10 PM EDT | ||
# Author: Joseph Armstrong ([email protected]) | ||
# File Name: metrics.py | ||
# Purpose: Houses functions pertaining to various CFB | ||
|
@@ -197,7 +197,7 @@ def get_cfbd_predicted_ppa_from_down_distance( | |
# but we have to convey to the person calling this | ||
# function that setting `down = 5` | ||
# is not something they should be doing. | ||
logging.warn( | ||
logging.warning( | ||
'There is a very limited number of "5th down" situations ' | ||
+ "in American Football history. " | ||
+ "Do not expect anything back when calling this function, " | ||
|
Oops, something went wrong.