Library for grabbing baseball statistics in Python, designed for use in Jupyter Notebooks.
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.
- Python 3.10.12
git clone https://github.com/gdifiore/pyball.git
cd pyball
pip install . OR poetry install
Read the docs for function descriptions.
For examples, look at my MLBResearch Repo where I test most of the functions.
Leave any comments or suggestions in an issue or directly make make a pull request adding code.
pyball
is licensed under the MIT license
- update documentation