Playground for utilizing the Pybaseball api with Python.
See the Demos folder for specific examples implementing some of the available functions.
Run the following command in the terminal:
python3 -m venv myenv
where myenv
is the name of the venv, and you can change that to whatever you prefer.
I named mine pybaseball-playground
.
Run the following command in the terminal to enter the virtual environment:
source myenv/bin/activate
With the same naming context in mind, run this command in the terminal to enter the environment.
Run the following command to install all of the listed package dependencies:
pip3 install -r requirements.txt
Run the following command to update the requirements.txt file:
pip3 freeze > requirements.txt