Skip to content

fantasyfb v0.10.0

Choose a tag to compare

@tefirman tefirman released this 07 Oct 02:35
· 120 commits to main since this release
6f03045

fantasyfb v0.10.0

An interactive HTML report as an alternative to the Excel workbook, fresher data on game days, and several live-week projection fixes.

pip install --upgrade fantasyfb

Highlights

  • New interactive HTML report. Run fantasyfb --format html (or --format both) to get a single self-contained .html file you can open offline or email. It has tabs for your week (matchup card, outlook, season path, lineup and bench), standings, schedule, moves (adds, pickups, drops and trades), and free agents with search, position filter and a rostered % slider. A Viewing selector rescopes everything to any team in the league. The default is still --format excel, so existing behavior is unchanged.
  • Drop verdicts in the report are tunable. New --drop-safe-threshold and --drop-depth-threshold flags (defaults -4 and -12) control the "Safe to cut", "Depth" and "Keep" labels.
  • Fresher NFL data on game days. In September through January, on every day except Wednesday and Friday, the CLI now caches NFL data for 30 minutes instead of 24 hours, so rerunning on Sunday or Monday picks up finished games without --refresh-cache. This fixes finished teams still showing a nonzero chance of losing.
  • More accurate live-week and season projections. Players on IR are no longer counted as extra starters, team defenses now match their real stats instead of all getting a league-average projection, and kickers in distance-scored leagues no longer get an extra 3 points per made field goal.
  • New dependency: jinja2>=3.1 is now required (used to render the report).

See CHANGELOG.md for the full list.