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

Baseball Python Packages

Python packages with the GitHub topic baseball. 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
benjamincrom
baseball

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

9K 106 16
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
daviddalpiaz
pylahman

⚾ Python package for access to the Lahman Baseball Database

1K 5 1
mgula57
mlb-showdown-bot

Create custom MLB Showdown cards

1K 38 6
ss77995ss
baseball-stats-python

A python pacakge for getting baseball stats

950 17 3
CodeMateo15
ncaa-bbstats

A package to analyze college baseball stats by year and division

897 11 0
yasumorishima
savant-extras

Baseball Savant leaderboards that pybaseball lacks, with date ranges and season checks

571 2 0
joesmi9
baseballdc

Baseball Data Center

568 0 0
zachpanz88
mlbgame

An API to retrieve and read MLB GameDay data

544 551 108
prs-watch
hof

not practical tool to make hof as you want.

505 1 0
JacobLee23
sabrmetrics

A web scraper for SABRmetrics websites

432 4 0
yasumorishima
baseball-field-viz

Matplotlib baseball field drawing and Statcast spray chart for MLB analysis

431 3 0
i-am-david-weinstein
espn-fantasy-mcp

MCP server for ESPN Fantasy Sports API

362 1 2
droher
boxball-schemas

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

351 135 22
rozelie
pyretrosheet

Load, analyze, and enrich retrosheet.org MLB data.

302 4 1
kmac
mlbv

Command-line interface to MLB game information, game schedule and scores

274 59 27
evansloan
sports-py

A simple Python package to gather live sports scores

268 63 17
JLpython-py
fangraphs

A library for scraping data off of the FanGraphs webpages.

211 17 1
hedgertronic
fungo

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

205 3 0
bdilday
pybbda

Python Baseball Data and Analysis

194 36 3
bdilday
pychadwick

Python package to interface with chadwick library

187 10 4
power-edge
pymlb-statsapi

Python wrapper for MLB Stats API

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