Python package to scrape and analyze data from Nippon Professional Baseball (NPB).
pynpb is a python package to be used for data analysis in baseball, specifically in the NPB in Japan. The package scrapes data from Baseball Reference to get valuable data, such as batting stats, standings, and player information. See the docs for a comprehensive description on each function and examples.
pynpb can be installed in two different ways.
The first is the following, which uses pip.
pip install pynpbThe second involves installing it directly from this github repo.
git clone https://github.com/jkmende05/pynpb
cd pynpb
pip install -e .Next steps will involve having this python package readily available for installation when using anaconda.
Any issues with the codebase should be raised and addressed on the GitHub repository. Further inquiries can be asked through email: jkmende05@gmail.com.
This package was created and developed by Justin Mende.
This package was inspired by the python package called pybaseball created by James LeDoux.
All data from this project comes from Baseball Reference (Baseball-Reference.com).