Metadata-Version: 2.4
Name: pydfs-lineup-optimizer-enhanced
Version: 4.0.2
Summary: Tool for creating optimal lineups for daily fantasy sports
Home-page: https://github.com/Edamijueda/pydfs-lineup-optimizer-enhanced
Author: Edamijueda
Author-email: tobbyzomo221@gmail.com
License: MIT
Keywords: dfs,fantasy,sport,lineup,optimize,optimizer,nba,nfl,nhl,mlb
Classifier: Development Status :: 4 - Beta
Classifier: Environment :: Console
Classifier: Intended Audience :: End Users/Desktop
Classifier: Intended Audience :: Developers
Classifier: Operating System :: POSIX
Classifier: Programming Language :: Python
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: PuLP==2.4
Requires-Dist: pytz>=2020.5
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: requires-dist
Dynamic: summary

# PYDFS-LINEUP-OPTIMIZER [![Build Status](https://travis-ci.com/DimaKudosh/pydfs-lineup-optimizer.svg?branch=master)](https://travis-ci.org/DimaKudosh/pydfs-lineup-optimizer)[![Coverage Status](https://coveralls.io/repos/github/DimaKudosh/pydfs-lineup-optimizer/badge.svg?branch=master)](https://coveralls.io/github/DimaKudosh/pydfs-lineup-optimizer?branch=master)
pydfs-lineup-optimizer_enhanced is a tool for creating optimal lineups for daily fantasy sport. 

## Installation
To install pydfs-lineup-optimizer-enhanced, simply run:
```
$ pip install pydfs-lineup-optimizer-enhanced
```

## Support
Now it supports following dfs sites:

League | DraftKings | FanDuel | FantasyDraft | Yahoo | FanBall | DraftKings Captain Mode | FanDuel Single Game | DraftKings Tiers | FANTEAM |
------ | ---------- | ------- | ------------ | ----- | ------- | ----------------------- | ------------------- | ---------------- | --------------- |
NFL    | +          | +       | +            | +     | +       | +                       | +                   | +                |
NBA    | +          | +       | +            | +     | -       | +                       | +                   | +                |
NHL    | +          | +       | +            | +     | -       | +                       | +                   | +                |
MLB    | +          | +       | +            | +     | -       | +                       | +                   | +                |
WNBA   | +          | +       | -            | -     | -       | +                       | -                   | -                |
Golf   | +          | +       | +            | +     | -       | -                       | -                   | -                |
Soccer | +          | -       | -            | +     | -       | +                       | -                   | -                |
CFL    | +          | -       | -            | -     | -       | -                       | -                   | -                |
CFB    | +          | -       | -            | -     | -       | -                       | -                   | -                |
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 Fanteam fantasy NBA. It loads players list from "fanteam.csv" and select 10 best lineups.
```python
from pydfs_lineup_optimizer import Site, Sport, get_optimizer


optimizer = get_optimizer(Site.FANTEAM, Sport.SOCCER)
optimizer.load_players_from_csv("fanteam.csv")
for lineup in optimizer.optimize(10):
    print(lineup)
```
