Picks good teams for the UK FPL Fantasy Football game
Project description
Fantasy Footbot :soccer: :trophy:
Win Fantasy Premier League! Spend your dirty football manager money cost-effectively! Do linear maths! For people who can't pick football players good and want to learn to do other football manager stuff good too
Install with pip install footbot
Usage:
footbot scout
footbot --help
footbot scout -rf ppg # use the points per game ranking function, for example
footbot scout -bf lp_max # use the lp_max building function, for example
Example Output, Week 2 2018
(fantasy-footbot-gomZnCJG) rach@nbn:~/Repos/fantasy-footbot$ footbot scout
Loading Player Data: [################################] 527/527 - 00:00:42
Total Cost: 99.5, Points: 198
Players
1. David Silva 8.4 mil, 9 points Man City midfielder
2. Paul Pogba 8.1 mil, 18 points Man Utd midfielder
3. Roberto Pereyra 6.1 mil, 18 points Watford midfielder
4. Sadio Mané 9.7 mil, 17 points Liverpool midfielder
5. Ricardo Domingos Barbosa Pereira 5.0 mil, 16 points Leicester defender
6. Callum Wilson 6.1 mil, 14 points Bournemouth forward
7. Troy Deeney 6.0 mil, 14 points Watford forward
8. Alex McCarthy 4.5 mil, 13 points Southampton goalkeeper
9. Marcos Alonso 6.6 mil, 24 points Chelsea defender
10. Richarlison de Andrade 6.7 mil, 23 points Everton midfielder
11. Benjamin Mendy 6.2 mil, 23 points Man City defender
12. Neil Etheridge 4.5 mil, 22 points Cardiff goalkeeper
13. Sergio Agüero 11.1 mil, 22 points Man City forward
14. Kieran Trippier 6.0 mil, 11 points Spurs defender
15. Steve Cook 4.5 mil, 20 points Bournemouth defender
Done. Enjoy your free fantasy football points.
This is extensible with custom ranking and team-building algorithms.
To-Do List
- Need to make sure it picks a good captain for your team, since they're worth twice as much.
- Need to make it care less about the value of players on the bench
- Need to implement week-to-week factors such as home/away, strength of opposing team, and have a mode which scouts good transfers rather than for building a team
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
footbot-0.1.0.tar.gz
(7.9 kB
view details)
Built Distribution
footbot-0.1.0-py3-none-any.whl
(11.6 kB
view details)
File details
Details for the file footbot-0.1.0.tar.gz
.
File metadata
- Download URL: footbot-0.1.0.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40787d67aa1b350c54cc78903cd27af3f3508d4962751bc0831001e6f5bab318 |
|
MD5 | e39e7157e4c8594933f0bf0461875dcf |
|
BLAKE2b-256 | f87ce07ef76bec1aff27b3033de57444bdb06697586384355c8ee00339889e6f |
File details
Details for the file footbot-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: footbot-0.1.0-py3-none-any.whl
- Upload date:
- Size: 11.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.1.0 requests-toolbelt/0.8.0 tqdm/4.25.0 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c3e17a510736fea7f65cf6bb6224241ae92a58e642f307c513c681dcbbed4c40 |
|
MD5 | ba2186011762ae64353378b39c2fdfb3 |
|
BLAKE2b-256 | 714f23e4138d90d0bde85a31c234d6c384b36463680b0c893e6f7679fccda278 |