███████╗██████╗ ██╗ █████╗ ███╗ ██╗ █████╗ ██╗ ██╗ ██╗███████╗██╗███████╗
██╔════╝██╔══██╗██║ ██╔══██╗████╗ ██║██╔══██╗██║ ╚██╗ ██╔╝██╔════╝██║██╔════╝
█████╗ ██████╔╝██║ ███████║██╔██╗ ██║███████║██║ ╚████╔╝ ███████╗██║███████╗
██╔══╝ ██╔═══╝ ██║ ██╔══██║██║╚██╗██║██╔══██║██║ ╚██╔╝ ╚════██║██║╚════██║
██║ ██║ ███████╗ ██║ ██║██║ ╚████║██║ ██║███████╗██║ ███████║██║███████║
╚═╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝╚═╝ ╚═══╝╚═╝ ╚═╝╚══════╝╚═╝ ╚══════╝╚═╝╚══════╝
FPL Analysis is a project under development whose purpose is to assist managers with their Fantasy Premier League team management.
The program runs on Python 3.10 or higher.
- Windows users can download the .zip file directly from GitHub and run the FPL Analysis.exe located in the 'dist/FPL Analysis' directory. (This option doesn't require any Python versions.)
- Install from source on Linux
$ git clone https://github.com/spym10111/FPLanalysis.git
$ cd fplanalysis
$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt
$ python3 main.py
- Install from source on Windows
git clone https://github.com/spym10111/FPLanalysis.git
cd fplanalysis
python -m venv venv
.\venv\scripts\activate
pip install -r requirements.txt
python main.py
FPL Analysis automatically creates or updates a Fantasy team for you. The suggestions the program provides are given based on the players' previous FPL performance and are by no means based on their actual game performance. That means that it calculates each player's value based solely on FPL stats, avoiding his actual statistical value as a player, even though it may have an impact in the final comparison with other players. Although not perfect, FPL Analysis can still give a useful insight into the game and provide fast suggestions to FPL managers.
The use is pretty straightforward for now. Just running the main.py opens the main menu.
-------------------------------------Main Menu------------------------------------------------
Please enter a number from the list below:
1. Sign in to your FPL account: Use your FPL log-in information to get your team.
2. Create new team: The program creates the best possible team for you.
3. Enter new team: You manually enter your team.
4. Open saved team: Open a previously saved team.
5. Rank players.
6. Exit
Enter number:
Depending on your choice the program has different functionalities. The options are shown in parentheses.
For example:
Do you want to exclude any players or get suggestion (exclude/suggestion/skip)?
The program will first ask for a Gameweek period for which to calculate the optimal suggestions.
The program needs to calculate points based on the players' stats and upcoming games.
Please enter the GW period for which you want the points to be calculated.
First GW:
Last GW:
The results that the program provides after that stage correspond to that particular period and might not be useful as a whole. You can use its different functionalities according to your preferences. The suggestions that follow are based on our experience using FPL Analysis up to this point.
- A good period for you to set and choose your team is probably 5 Gameweeks, as it aligns with the form stat period of 5 matches and gives your picks time to justify their value or a possible -4 hit.
- You can set the period to 1 Gameweek (by setting both First and Last GW to the same number) in order to pick your Gameweek captain.
- FPL Analysis works better as the season progresses and players start accumulating points. Don't be discouraged by the results of the first 5 Gameweeks of the season. Try to plan your transfers and wildcard chip accordingly. Perhaps keeping your transfers in that period might be better.
- Information on player availability (injuries etc.) is not included for now, so you have to do your own research on that matter. You can exclude unavailable players in the program.
- The program doesn't take future price changes into account. Again, you'll have to do your own research on which players' price is going to change and act accordingly. As a general preference, try to transfer players as late as possible to avoid injuries and have better information on the FDR. Increases in your budget will eventually come anyway if you start getting good results from your players.
- Always run the suggestion option before you finalise your transfers in the actual game. The program is not perfect and might show some irregularities from time to time. Please report anything that might seem suspicious to you. Check the known errors section for further information.
- The suggestion option of the program provides suggestions for the given team taking into consideration a -4 hit. Based on that, the "best value possibility" given is not an actual probability but rather a performance comparison based on the program's calculations. As the actual probability differs from this "performance comparison" and the odds of an accurate result are slim, up to this point we suggest that you use the suggestion option (even if you take the -4 hit) for a percentage of at least 80% for better results. (Be prepared for many hits...)
- If you use the suggestion option for multiple Gameweeks it might be a good option to check how effective each transfer is in the next Gameweek, either by using the suggestion option or the rank players option for just the next Gameweek. That might help with avoiding unecessary -4 hits if you put any suggested transfers on hold.
- The suggestion of a player change might differ from the actual replacement done by the program. The -4 hit calculation used in only one of the two options and not both is to blame for that. This has also shown that based on the FPL Analysis calculations players with better fantasy points output might be better if you take a -4 hit while players with easier games coming up (FDR factor) might be better if you don't.
- FPL Analysis should be used for a better overall season performance. Temporary one Gameweek replacements might not have the expected results. On that note, please avoid betting real money using our program as a guide. The suggestions that the program provides still have a chance to fail.
Known errors meant to be fixed hopefully soon. If you don't find your problem here please report it so that we can hopefully fix it.
- Unfortunately, connecting through a social media account that is not connected with a Premier League account is not possible for now.
- The bank budget is not displayed correctly in some occasions. We are working on a fix.
- The update option changes one player at a time. That means that double player changes might be better due to better budget management even though it doesn't seem so when updating your team. That is why you should always run the suggestion option (both for single and double player changes) even when creating a completely new team. We are working on a good way to fix this issue.
- The program still misses the functionality for picking bench players. We hope to include it as well soon. For now, the program chooses the best possible starting 11 leaving a small budget for your bench. Try to avoid spending too much on your bench as the purpose of the program is to create the best possible 11 with minimum thought for the bench.
- We are hoping to add some functionality on whether it's a good time to play a particular chip in the near future.
- When creating a new team, some systems have wrong budget values given for the bench players. We are working on a fix. (Don't worry. The best systems don't have that problem, but you should try creating new teams with different systems if you want to try the limits of the program.)
For any questions or feedback please contact us at: [email protected]