Skip to content

pyball - python library for obtaining baseball information

License

Notifications You must be signed in to change notification settings

gdifiore/pyball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

40 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pyball

Library for grabbing baseball statistics in Python, designed for use in Jupyter Notebooks.

Why pyball

Another python library for getting baseball statistics already exists (pybaseball), however, pyball just provides barebones functions for retriving stats from Baseball-Reference, and Baseball Savant.

Requirements

  • Python 3.10.12

Install/Build From Source

git clone https://github.com/gdifiore/pyball.git

cd pyball

pip install . OR poetry install

Docs

Read the docs for function descriptions.

For examples, look at my MLBResearch Repo where I test most of the functions.

Comments and Suggestions

Leave any comments or suggestions in an issue or directly make make a pull request adding code.

License

pyball is licensed under the MIT license

TODO

  • update documentation