Skip to content

Version 0.6.0

Latest
Compare
Choose a tag to compare
@roclark roclark released this 07 Jan 18:35
· 35 commits to master since this release
ea00437

Note: The project has been renamed from sportsreference to sportsipy. This is a drop-in replacement, so any place that sportsreference is used should now be sportsipy. This change was made to reduce any confusion about this being supported. As a reminder, this is an independent hobby project which is not affiliated with the sports-reference.com website.

Deprecations

  • Changed name from sportsreference to sportsipy (#536)
  • Dropped support for Python 3.5 (#472)
  • Removed attempted_passes from NCAAF (#395)

Enhancements

  • Update the boxscore test files to more recent data (#500)
  • Added coaches to all sports, where applicable (#527)
  • Added functionality for local files to be scraped instead of reading directly from the website (#502)
  • Added NFL game info to the boxscore class (#468)
  • Added string representation to all classes (#478)
  • Added per-100 possessions stats to NBA modules (#476)
  • Added advanced rushing and receiving stats for NFL (#410)
  • Updated all Team classes to allow them to be directly accessible (#363, #390, #405, #406, #407)
  • Added a datetime property to NFL boxscores (#398)

Fixes

  • Encoding player and team names in the exhaustive football tests to prevent errors (#538, #568)
  • Encoding player names in the exhaustive NCAAB tests to prevent errors (#567)
  • Fixed an issue where the incorrect squad IDs were saved for some football teams (#535)
  • Fixed an issue where pages redirecting to a 404 error weren't being handled, causing some pages to appear working when they actually weren't (#534)
  • Fixed an issue pulling NFL boxscores which haven't been played yet (#529)
  • Fixed an issue pulling football league positions (#528)
  • Fixed an issue running the NCAAF tests where data was pulled from the incorrect location (#526)
  • Updated the default values for NBA players to prevent an error trying to pull minutes (#508)
  • Fixed an issue where NFL players were wrongly listed as away for both sides (#507)
  • Fixed an issue where NBA boxscores failed to properly assign quarterly point totals (#506)
  • Fixed an issue where NBA boxscores gave incorrect values to the home team (#505)
  • Fixed an issue where NCAAF boxscores showed the incorrect team names in the results (#504)
  • Updated the boxscore modules to change invalid variable names according to pycodestyle (#484)
  • Fixed an issue where the incorrect home team was listed for NBA boxscores (#482)
  • Fixed an issue pulling the default year for NBA games while in 2020 (#481)
  • Updated the football HTML table IDs to parse properly pull data (#480)
  • Updated Codecov to fix a token issue (#474)
  • Fixed an issue with the football schedule using invalid dates (#409)
  • Fixed an issue where a TypeError could be thrown for some values (#394)
  • Fixed an issue where an NBA player's missing weight would throw an error (#399)
  • Updated Codecov to be tokenless (#396)
  • Fixed an issue pulling football schedules and rosters (#392)

Dependency Updates

  • Updated numpy to 1.19.5
  • Updated mock to 4.0.3
  • Updated lxml to 4.6.2
  • Updated certifi to 2020.12.5
  • Updated coverage to 5.3.1
  • Updated chardet to 4.0.0
  • Updated attrs to 20.3.0
  • Updated py to 1.10.0
  • Updated packaging to 20.8
  • Updated more-itertools to 8.6.0
  • Updated urllib3 to 1.26.2
  • Updated requests to 2.25.1
  • Updated pytz to 2020.5
  • Updated pytest-cov to 2.10.1
  • Updated wcwidth to 0.2.5
  • Updated six to 1.15.0
  • Updated pycodestyle to 2.6.0