Skip to content
PyRank
  • Search
  • PyPI
  • GitHub
  • Insights
  • Compare
  • Advisories
  • Ecosystem
  • About

Sabermetrics Python Packages

Python packages with the GitHub topic sabermetrics. Sorted by monthly downloads, with stars and forks.
jldbc
pybaseball

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

141K 2K 435
nicko4o
polars-baseball

Asynchronous Python library for retrieving baseball data (Statcast, Baseball Reference, FanGraphs, Lahman, Retrosheet, MLB Stats API) as Polars DataFrames.

4K 2 0
cbwinslow
chadwickpy

Pure-Python port of the Chadwick baseball tools (cwevent, cwgame, cwdaily, cwsub, cwcomment, cwbox). No compiler needed.

2K 0 0
JacobLee23
sabrmetrics

A library of web-scraping software for popular SABRmetrics websites.

432 4 0
droher
boxball-schemas

Schemas for the Boxball project that can be used for extension or code completion

351 136 22
hedgertronic
fungo

Python tools for baseball data from Statcast, the MLB Stats API, FanGraphs, and Baseball-Reference.

205 3 0
power-edge
pymlb-statsapi

A clean, Pythonic wrapper for MLB Stats API with automatic schema-driven parameter validation

177 2 0
harlanljones
saberkit

Live sabermetrics in marimo notebooks: plus/minus statistics and Savant-style percentiles, computed in Rust

149 0 0
cbwinslow
retrosheetpy

Fast, modular, and strongly-typed Retrosheet baseball data downloader, parser, and database ingestor.

142 1 0
schorrm
pybaseball2

Retrieve baseball data in Python

1 28 8
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology