26 open-source packages · R · Python · Node.js · 8 leagues in the warehouse · 120M+ rows of play-by-play · EPA · win probability · ratings models · free and open since 2021

MLB Stuff+ pitching models

MLB Stuff+ pitching models

Load modeled pitching metrics — Stuff+, expected stats, catcher framing — from the MLB releases.

Beyond raw play-by-play, the data releases include modeled metrics. The MLB namespace ships pitching-model outputs ready to join onto anything.

mlb_models.py

import sportsdataverse as sdv
 
# Stuff+ style pitching-model scores by pitcher
stuff = sdv.mlb.load_mlb_stuff_plus(seasons=[2024])
stuff.head()

Siblings in the same namespace cover the rest of the Statcast-derived world:

sdv.mlb.load_mlb_expected_stats(seasons=[2024])   # xBA / xSLG / xwOBA
sdv.mlb.load_mlb_oaa(seasons=[2024])              # outs above average
sdv.mlb.load_mlb_catcher_framing(seasons=[2024])  # framing runs

Full docs: py.sportsdataverse.org