Skip to main content

A package to scrape and parse NBA, WNBA and G-League play-by-play data

Project description

Build Status PyPI version Downloads

A package to scrape and parse NBA, WNBA and G-League play-by-play data.


  • Adds lineup on floor for all events
  • Adds detailed data for each possession including start time, end time, score margin, how the previous possession ended
  • Shots, rebounds and assists broken down by shot zone
  • Supports both and endpoints
  • Supports NBA, WNBA and G-League stats
  • All stats on are derived from these stats
  • Fixes order of events for some common cases in which events are out of order


requires Python >=3.6

pip install pbpstats



Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for pbpstats, version 1.2.1
Filename, size File type Python version Upload date Hashes
Filename, size pbpstats-1.2.1-py3-none-any.whl (114.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size pbpstats-1.2.1.tar.gz (53.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page