Skip to main content

This is a module that allows you to query NBA Daily Fantasy Projections from Berkeley’s Sports Analytics Group (SAGB).

getPlayerStats(name) - returns statline projections for specific player name if they are playing today

getTeamStats(team) - returns statline projections for specific team if they are playing today, requires 3 letter team abbreviation

scoresOver(fantasy, score) - Get players with scores over a specified score based on Draftkings or Fanduel, pass in either fanduel or draftkings to the fantasy argument

fanduelOptimal() - returns FanDuel optimal lineup

draftkingsOptimal() - returns DraftKings optimal lineup

statsOver(stat, value) - returns statline projections for players with a stat (Minutes, 2 PT FG, 3 PT FG, FTM, Rebounds, Assists, Blocks, Steals, Turnovers) over a certain value

getInjured() - names and injury types for all injured players

getAllStats() - returns all statline projections for the day

getAllProjections() - returns all fanduel and draftkings score projections for the day

getStatsPerMinute() - returns projected statline with per minute numbers

Change Log

0.0.1 (12/24/2020)

  • Initial test release with only 2020 NBA Finals Game 6 Projections

0.0.2 (12/24/2020)

  • Updated to include static files

  • This version was yanked due to errors

0.0.3 (02/25/2021)

  • Updated to pull live predictions from SAGB website

0.0.4 (03/16/2021)

  • Updated to included per minute statistics

0.0.5 (03/16/2021)

  • Updated to included missing function description of getStatsPerMinute in readme

Metadata

Release files for sagbprojections 0.0.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for sagbprojections 0.0.5
File Size Uploaded Provenance Actions
sagbprojections-0.0.5.tar.gz 4.2 kB Without provenance Details for sagbprojections-0.0.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sagbprojections 0.0.5
File Interpreter ABI Platform Actions
sagbprojections-0.0.5-py3-none-any.whl Python 3 none any Details for sagbprojections-0.0.5-py3-none-any.whl

Total release size: 7.7 kB

Release files / sagbprojections-0.0.5.tar.gz

Download URL sagbprojections-0.0.5.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
7471bc97608abbf2ad06ccb17275fb0b5bcb028499572b16aa4c723fe874498b
BLAKE2b-256 checksum
How to use checksums
a42d2a0d7e3141f3aa654195fcafe11761289fcbc3dd0580be5806855e46784e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Release files / sagbprojections-0.0.5-py3-none-any.whl

Download URL sagbprojections-0.0.5-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
99ee547d10ace2fc188de1a3ada64e045269f01b6687feec8a0cba48e83b3f8c
BLAKE2b-256 checksum
How to use checksums
f58d88166cb54c16656958c21c97799bf9fb866ad1ad9cb74043be4268fa673c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.0.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

Security for sagbprojections 0.0.5

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.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page