- 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
- Obj*ective 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
cd
into it. - Run
uv venv --python 3.12
to initialize a virtual environment with Python 3.12. - Run
make prd_install
to install all requirements exactly as compiled in therequirements.txt
file.- If you want to update any dependencies, run
make install
to install all requirements, ormake dev_install
to install all requirements plus additional dependencies required for code formatting, tests, etc. - Then run
make prd_compile
to regenerate the universalrequirements.txt
file.
- If you want to update any dependencies, run
- Follow the
Installation
section above, being sure to usemake dev_install
instead ofmake prd_install
. - Run
make format
to lint and format all code usingruff
, then check types usingpyright
. - Run
make pytest
to run tests and output a code coverage report. At this time, there is not full code coverage.
- Edit
__version__
insrc/football/__init__.py