plo

pydfs-lineup-optimizer

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

Showing:

Popularity

Downloads/wk

0

GitHub Stars

268

Maintenance

Last Commit

5mos ago

Contributors

19

Package

Dependencies

0

License

MIT

Categories

Readme

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:

LeagueDraftKingsFanDuelFantasyDraftYahooFanBallDraftKings Captain ModeFanDuel Single GameDraftKings Tiers
NFL++++++++
NBA++++-+++
NHL++++-+++
MLB++++-+++
WNBA++---+--
Golf++++----
Soccer+--+-+--
CFL+-------
LOL-+---++-
MMA++------
NASCAR++------
Tennis+-------
CSGO+-------

Documentation

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

Example

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

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)

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100