- Data Scraping
- Player metadata and weekly point projections from Sleeper
- Draft Recommendations
- Sync draft state from Sleeper leagues
- Use convex optimization to recommend an optimal roster
- Objective function: maximize the minimum points your team will score each week
- Install uv for your system.
- Install make for your system.
- Clone this repository and
cdinto it. - Run
uv venv --python 3.12to initialize a virtual environment with Python 3.12. - Run
make prd_installto install all requirements exactly as compiled in therequirements.txtfile.- If you want to update any dependencies, run
make installto install all requirements, ormake dev_installto install all requirements plus additional dependencies required for code formatting, tests, etc. - Then run
make prd_compileto regenerate the universalrequirements.txtfile.
- If you want to update any dependencies, run
- Follow the
Installationsection above, being sure to usemake dev_installinstead ofmake prd_install. - Run
make formatto lint and format all code usingruff, then check types usingpyright. - Run
make pytestto run tests and output a code coverage report. At this time, there is not full code coverage.
- Edit
__version__insrc/football/__init__.py