All Projects → eat-sleep-code → baseball-pi

eat-sleep-code / baseball-pi

Licence: other
Get the live box score, plays, and batter stats of your favorite MLB team right on your desktop.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to baseball-pi

boxball
Prebuilt Docker images with Retrosheet's complete baseball history data for many analytical frameworks. Includes Postgres, cstore_fdw, MySQL, SQLite, Clickhouse, Drill, Parquet, and CSV.
Stars: ✭ 79 (+507.69%)
Mutual labels:  baseball
scrapeOP
A python package for scraping oddsportal.com
Stars: ✭ 99 (+661.54%)
Mutual labels:  baseball
MLB-Menu
Status Bar menu for MLB games
Stars: ✭ 48 (+269.23%)
Mutual labels:  baseball
mlbgameday
Multi-core processing of 'Gameday' data from Major League Baseball Advanced Media. Additional tools to parallelize large data sets and write them to a database.
Stars: ✭ 37 (+184.62%)
Mutual labels:  baseball
GeomMLBStadiums
Geoms to draw MLB stadiums in ggplot2
Stars: ✭ 44 (+238.46%)
Mutual labels:  baseball
batter-pitcher-2vec
A model for learning distributed representations of MLB players.
Stars: ✭ 75 (+476.92%)
Mutual labels:  baseball
retrosheet
Project to parse retrosheet baseball data in python
Stars: ✭ 19 (+46.15%)
Mutual labels:  baseball
ballpark-tracker
A simple application used for tracking which MLB and AAA stadiums a "Ballpark Chaser" has been to.
Stars: ✭ 15 (+15.38%)
Mutual labels:  baseball
baseballstats
Baseball win expectancy and expected runs per inning calculators
Stars: ✭ 23 (+76.92%)
Mutual labels:  baseball
pybbda
Python Baseball Data and Analysis
Stars: ✭ 21 (+61.54%)
Mutual labels:  baseball
sports.py
A simple Python package to gather live sports scores
Stars: ✭ 51 (+292.31%)
Mutual labels:  baseball
Deep-Neural-Networks-for-Baseball
A repository to follow along with Andrew Trask's "Grokking Deep Learning" by modelling baseball statistics using various architectures of neural networks built from scratch.
Stars: ✭ 15 (+15.38%)
Mutual labels:  baseball

Baseball Pi

How did the old 1970's Chevy jingle go? "Baseball, hot dogs, apple pie and Chevrolet, they go together in the good ol’ USA." Well what about baseball and RASPBERRY PI?

Get the live box score, plays, and batter stats of your favorite MLB team* right on your desktop.

View images and a short video of this device.

Hardware Requirements



Getting Started

  • Use raspi-config to:
    • Set the Memory Split value to a value of 16MB
    • Set up your WiFi connection
  • Connect the Raspberry Pi HQ Camera to your Raspberry Pi
  • Run sudo nano /etc/apt/sources.list** and uncomment the reference to the source repo

Installation

  • Installation of the program, any software prerequisites, as well as the e-ink display drivers can be completed with the following two-line install script.
wget -q https://raw.githubusercontent.com/eat-sleep-code/baseball-pi/master/install-baseball.sh -O ~/install-baseball.sh
sudo chmod +x ~/install-baseball.sh && ~/install-baseball.sh


Usage Example

baseball --team Orioles

Options

Options

  • --team : Set the MLB team name (default: D-backs)
  • --refresh : Set the refresh rate in seconds (default: 15)

Autorun

Want to start Baseball Pi every time you boot your Raspberry Pi? Here is how!

  • Run sudo nano /etc/systemd/system/baseball.service** and enter the following lines (be sure to specify your favorite team!):
[Unit]
Description=Baseball Pi service

[Service]
ExecStart=/usr/bin/python3 /home/pi/baseball/baseball.py --team Orioles
Restart=always
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=Baseball Pi
User=pi

[Install]
WantedBy=multi-user.target
  • Run sudo systemctl enable baseball.service
  • Run sudo systemctl start baseball.service
  • Run sudo reboot


IMPORTANT NOTICE

All game data is the property of Major League Baseball Properties, Inc. This code was created for personal use only and does not construe any rights to use this data without the express permission of Major League Baseball Properties, Inc. Other trademarks used throughout this repository are the property of their respective owners and are used for identification purposes only. You may not hold the owners and operators (or any associated parties) of the <eat-sleep-code /> websites and repositories liable or financially responsible for any damages including—but not limited to—emotional, physical, or financial damages incurred during or after the use of this repository or any referenced websites. Use of this repository and/or the code found within constitutes an agreement to these terms.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].