Sportsreference

Latest version: v0.5.2

Safety actively analyzes 630305 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 4

0.4.4

**Deprecations**
* Support for Python 2.7 is now dropped - all users are encouraged to upgrade to Python 3.5 or newer moving forward (132)
* Added deprecation warning to `attempted_passes` for the NCAAF in favor of `pass_attempts` (170)

**Enhancements**
* Added support for coverage.io to verify code coverage of all commits (155)
* Updated documentation to reflect the Houston Texan's new abbreviation on pro-football-reference.com (163)
* Set default NCAAB game time to midnight in case no time is present (185)

**Fixes**
* Fixed an issue where the MLB tests were not completing properly (151)
* Force UTF-8 encoding for opening test HTML files for Windows compatibility (152)
* Fixed an issue where NCAAF player positions weren't being loaded properly (150)
* Fixed an issue where the weight of NCAAF players was not being loaded properly in older seasons (2000s and earlier) (153)
* Fixed an issue where NCAAF games would fail to be pulled when a time isn't associated with the game (154)
* Fixed an issue where rushing and receiving information wasn't being loaded for NFL players (131)
* Fixed an issue where new NBA players who are the first to represent their country would throw an error (169)
* Fixed an issue where the program would throw an error if a requested page was empty (172)
* Fixed an issue where `passing_yards` was not included for NCAAF players (173)
* Fixed an issue pulling NCAAB games without an associated time (181)
* Fixed an issue pulling NCAAB player pages with no information (182)
* Fixed an issue preventing the NCAAF schedule module from continuing if the conference pages on sports-reference.com were empty (183)
* Fixed an issue with NCAAF boxscores throwing errors when games haven't been played yet (187)

**Dependency Updates**
* Updated numpy to 1.17.2
* Updated pytest to 5.1.2
* Updated zipp to 0.6.0
* Updated lxml to 4.4.1
* Updated cssselect to 1.1.0
* Updated pytz to 2019.2
* Updated packaging to 19.1
* Updated pyparsing to 2.4.2
* Updated more-itertools to 7.2.0
* Updated coverage to 4.5.4
* Updated pandas to 0.25.1
* Updated importlib-metadata to 0.20
* Updated certify to 2019.6.16

0.4.3

**Enhancements**
* Added a binary playoff indicator for to the NBA `Schedule` class to indicate whether or not a game takes place in the post-season.

**Fixes**
* Fixed an issue where home teams showed as empty in the `Boxscores` class for post-season NCAAB games.
* Fixed an issue pulling stats for the Las Vegas Golden Knights in the NHL due to unique handling of the team on by hockey-reference.com.

**Dependency Updates**
* Updated mock to 3.0.5
* Updated pytest to 4.5.0
* Updated requests to 2.22.0
* Updated sphinxcontrib-websupport to 1.1.2
* Updated urllib3 to 1.25.3
* Updated babel to 2.7.0
* Updated pluggy to 0.12.0
* Updated pygments to 2.4.2
* Updated numpy to 1.16.4
* Updated pbr to 5.2.1
* Updated tqdm to 4.32.1
* Updated pytest-cov to 2.7.1

0.4.2

**Fixes**
* Fixed an error that was thrown when attempting to pull any data just prior to the beginning of a new season.
* Fixed an issue pulling NBA schedules for that qualified for the playoffs prior to the end of the regular season.
* Fixed an issue pulling historical NCAAB data prior to the 2009 season for fields that need to be calculated arithmetically (such as `defensive_rebounds`, `opp_defensive_rebounds`, and `net_rating`).

**Dependency Updates**
* Updated pytest to 4.4.1
* Updated numpy to 1.16.3
* Updated urllib3 to 1.25.2
* Updated pytz to 2019.1
* Updated pyparsing to 2.4.0
* Updated jinja to 2.10.1
* Updated lxml to 4.3.3
* Updated flexmock to 0.10.4

0.4.1

**Enhancements**
* Added further documentation on how `sportsreference` can be used.
* Included explicit package versions to ensure a working configuration is always tested and verified.
* Added support for PyUp to automatically modify package versions when vulnerabilities or updates are identified.

**Fixes**
* Fixed an issue where the NBA schedule was only pulling games in a team's schedule that were already completed instead of the entire list of games.

**Deprecations**
* Python 3.4 has officially been dropped from the list of supported versions of Python due to it's end-of-life on March 16, 2019. Going forward, all users will be asked to switch to a supported version of Python.

0.4.0

**Enhancements**
* Individual player stats are now included with boxscores to allow users to see metrics for every player that participated in a game.
* Added an optional `slim` parameter to the `Roster` classes to retrieve just the names and player ID's for every member of a team instead of pulling all of their stats. If just the names and ID's are desired, this significantly reduces the amount of time required to retrieve results.
* Updated documentation to include more advanced examples of ways to use `sportsreference`.

**Fixes**
* Fixed issues with integration tests attempting to test features that were out-of-scope. Now, tests are significantly faster.

0.3.2

**Fixes**
* Fixed an issue where the `Roster` class would throw an error while attempting to pull a player that has no stats associated with him/her.
* Fixed an issue where NCAAF boxscore information, such as the date and location of a game, was stored in the incorrect property.

Page 2 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.