Skip to content

wfordh/fantasy_football_projections

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fantasy_football_projections

Code style: black

Background

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.

Details

This repository is all in Python 3.9.1. It is formatted using black and run using pipenv.

Ideas/Scratchwork

  • 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?:
  • 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

Roadmap

  1. typing for projection functions
  2. documentation for projection functions
  3. add isort and pre-commit hooks
  4. tests
  5. fancy code coverage stuff
  6. CBS projections need some private helper methods for checking inputs such as ytd/restofseason and constructing the URL
  7. add print methods to sleeper_api_wrapper to match the sleeper docs
  8. Maybe add type hints to it, too. Mypy?
  9. Put my sleeper scripts on streamlit?

About

Tools for aiding with fantasy football decisions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages