Repository navigation
fantasyfb v0.11.0
fantasyfb v0.11.0
A rooting guide and PDF export for the HTML report, sortable free agents, and the groundwork for a hosted web app.
pip install --upgrade fantasyfbHighlights
- Rooting guide in the HTML report.
fantasyfb --format html --deltasnow adds a Rooting guide tab. For the team you pick, it lists this week's games with the change in your expected earnings if either side wins and a "Root for ..." call, plus a league-wide matrix shaded red to green. Previously--deltaswas silently ignored for HTML reports. - Save as PDF. The report has a print stylesheet and a "Save as PDF" button that prints every tab, one per page, following your selected team, sort order and filters.
- Matchup lineups in the Schedule tab. Click a game card to see both teams' projected starting lineups for the current week.
- Easier-to-read report tables. Free agents columns (Proj, Matchup, WAR, Bye, Rostered) are now click-to-sort, and Standings percentages sit under their headers. The Standings "Bye" column is renamed "First-round bye".
- Draft web app for Sleeper and Yahoo leagues. A small FastAPI app in
app/(not part of the PyPI package) runs season sims and serves the same HTML report. It supports Sleeper by league link and read-only Yahoo sign-in, and includes Cloud Run deployment files, run timeouts and queue limits. Adds, drops and the rooting guide are off by default in the app. Yahoo reports now carry the "Powered by Yahoo" badge. - Library changes for server use.
YahooTokenAuthkeeps a user's Yahoo tokens in memory, andYahooFantasyClient(oauth=...)accepts it.League(client=...)now setsnameandlg_idinstead of failing, and Ctrl-C is no longer swallowed by Yahoo query retries. - Offline end-to-end test of the weekly run. A snapshot test replays recorded league data through the full pipeline and checks invariants aimed at the game-day bugs earlier releases kept finding.
See CHANGELOG.md for the full list.