Skip to content

Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites

License

Notifications You must be signed in to change notification settings

asardinha/pydfs-lineup-optimizer

This branch is 1 commit ahead of, 172 commits behind DimaKudosh/pydfs-lineup-optimizer:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f021168 · Aug 7, 2019
Apr 18, 2019
Apr 24, 2019
Apr 19, 2019
Jan 6, 2019
Jan 6, 2019
Aug 7, 2019
Aug 7, 2019
Aug 7, 2019
Apr 24, 2019
Aug 7, 2019
Mar 19, 2017
Aug 7, 2019
Apr 21, 2019
Aug 7, 2019
Oct 3, 2018
Apr 18, 2019
Mar 10, 2019
Mar 10, 2019
Apr 16, 2019

Repository files navigation

PYDFS-LINEUP-OPTIMIZER Build StatusCoverage Status

pydfs-lineup-optimizer is a tool for creating optimal lineups for daily fantasy sport.

Installation

To install pydfs-lineup-optimizer, simply run:

$ pip install pydfs-lineup-optimizer

Support

Now it supports following dfs sites:

League DraftKings FanDuel FantasyDraft Yahoo FanBall DraftKing Captain Mode
NFL + + + + + +
NBA + + + + - +
NHL + + + + - -
MLB + + + + - +
WNBA - + - - - -
Golf + - + + - -
Soccer + - - + - -
CFL + - - - - -
LOL - - - - - +
MMA + - - - - -

Documentation

Documentation is available at https://pydfs-lineup-optimizer.readthedocs.io/en/latest

Example

Here is a example for evaluating optimal lineup for Yahoo fantasy NBA. It's loads players list from "yahoo-NBA.csv" and select 10 best lineup.

from pydfs_lineup_optimizer import Site, Sport, get_optimizer


optimizer = get_optimizer(Site.YAHOO, Sport.BASKETBALL)
optimizer.load_players_from_csv("yahoo-NBA.csv")
for lineup in optimizer.optimize(10):
    print(lineup)

About

Daily Fantasy Sports lineup optimzer for all popular daily fantasy sports sites

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%