This repository houses various tools I have created to aid me during the fantasy football season. I am currently in a Sleeper league, so development is focused there. Note that right now these are more tools built around decision making and using existing projections, not my own projections.
This repository is all in Python 3.9.1. It is formatted using black and run using pipenv.
- Change names of 'data' and 'projections' attributes and 'get_data' and 'convert_projections' methods to better reflect what they are meant to do
- What to do in the case of name collision across positions? If two players have same name, then only the last one will be presented in the converted projections
- Add
BaseProjections
class that can then be added onto for the specific websites - Projection sources to add - could potentially do async/parallelized pulling of the projections?:
- fantasy rundown
- fftoday
- fantasydata: can do RoS with some work - check that, only shows top 10 over selected area and need premium to get more. Probably skip for now
- fantasysharks
- fantasysp: only weekly and requires headers
- optimal DFS: only weekly
- Re-factor code in
sleeper_waivers.py
so the business logic is more separate from the UI - Add wins over expectation and season to date strength of schedule to
sleeper_expected_records.py
- Lineup optimization and predicted matchup points with the projections
- Pull projections independently of waivers?
- Save missing players so it's easier to know if there's a blind spot
- Google search for python fantasy football tools
- typing for projection functions
- documentation for projection functions
- add isort and pre-commit hooks
- tests
- fancy code coverage stuff
- CBS projections need some private helper methods for checking inputs such as ytd/restofseason and constructing the URL
- add print methods to sleeper_api_wrapper to match the sleeper docs
- Maybe add type hints to it, too. Mypy?
- Put my sleeper scripts on streamlit?