Skip to content

tyler-teufel/pybaseball-playground

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pybaseball-playground

Playground for utilizing the Pybaseball api with Python.

See the Demos folder for specific examples implementing some of the available functions.


Setup a virtual environment for minimal problems with Python versioning


1. Create the virtual environment (venv):

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.

2. Activate the venv:

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.

3. Install the packages needed:

Run the following command to install all of the listed package dependencies:

pip3 install -r requirements.txt

If you install any new or additional packages:

Run the following command to update the requirements.txt file:

pip3 freeze > requirements.txt

About

Playground for Python querying of the pybaseball api.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published