Skip to content

Installation

From Source

git clone https://github.com/fnhirwa/fantasypl.git
cd fantasypl
pip install -e "."

Optional Dependencies

Adds Ridge, XGBoost, LightGBM regression models.

pip install -e ".[ml]"

Adds PuLP for ILP-based optimal squad selection.

pip install -e ".[optimization]"

Adds pytest, ruff, mypy, pre-commit.

pip install -e ".[dev]"
pip install -e ".[all]"

Requirements

  • Python 3.9+
  • NumPy, Pandas, Requests, Pydantic (installed automatically)
  • SciPy (used by the inference pipeline)