Skip to main content

Fantasy Premier League Team Optimizer - Win at FPL with lazines

Project description

Fantasy Premier League Team Optimizer - Win at FPL with lazines

This Python project is designed to analyze and optimize Fantasy Premier League (FPL) team selections using data-driven techniques.

Modules Overview

  • lazyfpl/backevel.py: Back evaluation of player performance.
  • lazyfpl/conf.py: Configuration settings.
  • lazyfpl/constraints.py: Team selection constraints.
  • lazyfpl/database.py: Database interactions.
  • lazyfpl/fetch.py: Data fetching from FPL API.
  • lazyfpl/ml_model.py: Machine learning model for player performance prediction.
  • lazyfpl/optimizer.py: Team selection optimization.
  • lazyfpl/populator.py: Data population from external sources.
  • lazyfpl/structures.py: Data structures definition.
  • lazyfpl/transfer.py: Management of player transfers.

Basic Usage Examples

# Builds local player database.
python3 -m lazyfpl.populator

# Train ml-model (used to estiate expected points per player).
python3 -m lazyfpl.ml_model

# Backeval the model (optional).
python3 -m lazyfpl.backevel

# Based on upcoming fixture thufness, team synergy and expected points (from ML-model)
# show optimal team comparisons.
# This will exclude player with news and below mean-minutes played 60
python3 -m lazyfpl.optimizer --no-news --min-mtm 60

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

lazyfpl-0.0.1.tar.gz (19.2 kB view hashes)

Uploaded Source

Built Distribution

lazyfpl-0.0.1-py3-none-any.whl (22.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page