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)

139K 2K 430
nicko4o
polars-baseball

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

3K 0 0
cbwinslow
chadwickpy

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

2K 0 0
hedgertronic
fungo

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

742 3 0
JacobLee23
sabrmetrics

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

472 4 0
droher
boxball-schemas

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.

244 134 22
harlanljones
saberkit

A Rust statistics engine for baseball sabermetrics (plus/minus stats, percentile rankings) exposed to Python via PyO3 with zero-copy Arrow interchange. Zero required runtime Python dependencies—bring your own data source.

201 0 0
power-edge
pymlb-statsapi

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

145 2 0
schorrm
pybaseball2

I'm maintaining the original repo now. please go to github.com/jldbc/pybaseball

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