PYDFS-LINEUP-OPTIMIZER 

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 | DraftKings Captain Mode | FanDuel Single Game | DraftKings Tiers |
|---|---|---|---|---|---|---|---|---|
| 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 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)
Metadata
Release files for pydfs-lineup-optimizer 3.6.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pydfs-lineup-optimizer-3.6.1.tar.gz | 36.2 kB | Without provenance | Details for pydfs-lineup-optimizer-3.6.1.tar.gz |
Release files / pydfs-lineup-optimizer-3.6.1.tar.gz
| Download URL | pydfs-lineup-optimizer-3.6.1.tar.gz |
|---|---|
| Size | 36.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8f17cb14ced01b840f22dce78d0ece0cf9f617ec2fa1b9cfb93e8d985c4371ae
|
|
BLAKE2b-256 checksum How to use checksums |
02e55a203342c690d06d2c92fc4a92edfdc1a98e587014a8bf09e571487e3b49
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/3.10.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.1
|
Security for pydfs-lineup-optimizer 3.6.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.