Baseball

Top 23 Baseball Open-Source Projects

  • pybaseball

    Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)

  • Project mention: pybaseball help | /r/Sabermetrics | 2023-12-06
  • mlb-led-scoreboard

    An LED scoreboard for Major League Baseball :baseball:

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mlbgame

    A Python API to retrieve and read MLB GameDay data

  • baseballr

    A package written for R focused on baseball analysis. Currently in development.

  • Project mention: [General Discussion] Around the Horn - 12/11/23 | /r/baseball | 2023-12-11

    A basic understanding of R should be enough if you install the baseball r package. From there you can scrape off of Baseball Reference or Fangraphs for custom date ranges to get stats on whatever time frame basis you would like. Then you can export/copy/whatever to excel if you want, or do the analysis right in R.

  • zengm

    Basketball GM (and other ZenGM games) are single-player sports management simulation games, made entirely in client-side JavaScript.

  • Project mention: Faces.js, a JavaScript library for generating vector-based cartoon faces | news.ycombinator.com | 2024-04-06

    I liked it a lot, also the README. The author seems to be an indie dev who makes sport management sim games [1] that run entirely in the browser like this library!

    [1] https://zengm.com/

  • ML-auto-baseball-pitching-overlay

    ⚾🤖⚾ Automatic baseball pitching overlay in realtime

  • scrapeOP

    A python package for scraping oddsportal.com

  • WorkOS

    The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.

    WorkOS logo
  • openbiomechanics

    The open source initiative for anonymized, elite-level athletic motion capture data. Run by Driveline Baseball.

  • ha-teamtracker

    Home Assistant integration that provides real-time scores in multiple professional (NBA, NFL, NHL, MLB, MLS, and more), college (NCAA), and international (soccer, golf, tennis, mma, racing) sports using ESPN APIs.

  • Project mention: How to Get an API key | /r/PremierLeague | 2023-06-27

    ESPN. I use this integration with home assistant that you could use as a starting point: https://github.com/vasqued2/ha-teamtracker

  • 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.

  • baseball

    Library to download, analyze, and visualize events in Major League Baseball games

  • GeomMLBStadiums

    Geoms to draw MLB stadiums in ggplot2

  • baseballstats

    Baseball win expectancy and expected runs per inning calculators

  • strat-o-rama

    Generating plausible Strat-O-Matic cards from MLB data

  • mlbplotR

    R package to easily plot MLB logos

  • MLB-WAR-data-historical

    JEFFBAGWELL wins above replacement (WAR) and various other metrics for MLB since 1901.

  • baseball-pi

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

  • BaseballTradeTrees

    The repo for www.mlbtradetrees.com. Analyze any trade in baseball history!

  • BaseballSharp

    Unofficial .NET SDK for the MLB Stats API.

  • SMB3Explorer

    ⚾ Super Mega Baseball 3 & 4 save data exporter

  • Project mention: SMB Explorer 1.5.0 Release - SMB4 support! | /r/SuperMegaBaseball | 2023-07-01

    I have finally gotten around to updating my SMB Explorer franchise data export tool to be compatible with Super Mega Baseball 4. It still retains all of the compatibility with SMB3, but now there is a toggle on the landing page to switch between SMB3 and SMB4.

  • fanlights

    fanlights.io is a free browser extension that adds the latest high-bitrate MLB video content to Yahoo Fantasy Baseball

  • open_projections

    Completely transparent baseball forecasts for every point in a season

  • mofny.github.io

    The Github Pages repo for my Roy Oswalt baseball card collection.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Baseball related posts

Index

What are some of the best open-source Baseball projects? This list will help you:

Project Stars
1 pybaseball 1,113
2 mlb-led-scoreboard 562
3 mlbgame 513
4 baseballr 351
5 zengm 334
6 ML-auto-baseball-pitching-overlay 260
7 scrapeOP 189
8 openbiomechanics 187
9 ha-teamtracker 128
10 boxball 110
11 baseball 70
12 GeomMLBStadiums 55
13 baseballstats 30
14 strat-o-rama 16
15 mlbplotR 16
16 MLB-WAR-data-historical 15
17 baseball-pi 13
18 BaseballTradeTrees 10
19 BaseballSharp 9
20 SMB3Explorer 4
21 fanlights 4
22 open_projections 0
23 mofny.github.io 0

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com