Skip to content

Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)

License

Notifications You must be signed in to change notification settings

waaronmorris/plyball

Repository files navigation

Overview

plyball is a Python package providing a extracting data from several of the most popular baseball sources (Fangraphs, Statcast, etc...). A majority of these sources are scraped.

Where to get it

The source code is currently hosted on GitHub at: https://github.com/waaronmorris/plyball

Binary installers for the latest released version are available at the Python package index.

pip install plyball

Documentation

The official documentation is hosted on ReadtheDocs.org: https://plyball.readthedocs.io/

Dependencies

  • Python (>= 3.6)
  • beautifulsoup4 (>= 4.9.3)
  • lxml (>= 4.6.3)
  • pandas (>= 1.2.4)
  • requests (>= 2.25.1)
  • tqdm (>= 4.60.0)
  • unidecode (>= 1.2.0)
  • urllib3 (>= 1.26.4)
  • xlrd (>= 2.0.1)
  • xlwt (>= 1.3.0)
  • openpyxl (>= 3.0.7)

About

Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)

Resources

License

Stars

Watchers

Forks

Packages

No packages published