Skip to main content

FPL wildcard team selector

This package helps you select the best 15 players to choose when playing a wildcard on Fantasy premier league on any given week

  • Selects the best players by analyzing the latest data provided by the fantasy premier league API, and other premier league stats sources
  • creates a visualization of the selected players
  • creates a csv containing detailed stats on all the players available for selection

Installation

Option #1: Using pip

You can install the package using pip by running the following:

pip install FPL-wildcard-team-selector
Option #2: Download from source

Download the source code by cloning the repository. Install by navigating to the proper directory and running

python setup.py install

Usage

import the package
import FPL_wildcard_team_selector
play_wildcard function

This function selects the best 15 players to pick and creates a visualization of the selected players. It takes in the following 4 arguments:

  • The amount of money that you have available. Check your team value to get an understanding of how much money you have
  • minimum number of minutes that a player needs to have played in the PL this season for him to be considered for selection
  • number of future gameweeks to analyze
  • whether or not you want to account for penalties during the analysis (If False, uses non-penalty stats)
FPL_wildcard_team_selector.play_wildcard(money_available=103.7, minimum_number_of_minutes_played=900, number_of_future_games_to_analyze=3, account_for_penalties=True)
play_wildcard Sample Output
alt text
generate_player_stats function

This functions creates a csv containing detailed stats on all the players. It splits the players in the csv based on posistion, and it places the players in every position catergory in order of best pick to worst pick based on the following 3 arguments:

  • minimum number of minutes that a player needs to have played in the PL this season for him to be added to the csv
  • number of future gameweeks to analyze
  • whether or not you want to account for penalties during the analysis (If False, uses non-penalty stats)
FPL_wildcard_team_selector.generate_player_stats(minimum_number_of_minutes_played=900, number_of_future_games_to_analyze=3, account_for_penalties=True)
generate_player_stats Sample Output
alt text

Metadata

Release files for FPL-wildcard-team-selector 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for FPL-wildcard-team-selector 1.1.1
File Size Uploaded
FPL_wildcard_team_selector-1.1.1.tar.gz 13.0 kB Details

Release files / FPL_wildcard_team_selector-1.1.1.tar.gz

Download URL FPL_wildcard_team_selector-1.1.1.tar.gz
Size 13.0 kB
Tags Source
SHA-256 checksum
How to use checksums
1af88251c9c9212c27dc957549c7f06ffad0e6f56d20f8cf7ce6736b04007639
BLAKE2b-256 checksum
How to use checksums
7429b7daf6135c7f80c78d7f6cc377e2261f7b8c3f8142358990d8cd4e3d1762
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.5

Release history Release notifications | RSS feed

This release

1.1.1 This release

1 release file

1.0.1

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page