PyPI Stats
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About
Home

Baseball Python Packages

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

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

191K 2K 407
benjamincrom
baseball

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

11K 102 18
mgula57
mlb-showdown-bot

Create custom MLB Showdown cards

3K 35 5
daviddalpiaz
pylahman

⚾ Python package for access to the Lahman Baseball Database

2K 4 1
zachpanz88
mlbgame

A Python API to retrieve and read MLB GameDay data

864 544 112
rozelie
pyretrosheet

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

788 4 1
JacobLee23
sabrmetrics

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

786 5 0
joesmi9
baseballdc

Baseball Data Center

642 0 0
CodeMateo15
ncaa-bbstats

A Python package for retrieving, parsing, and analyzing Division I, II, and III college baseball team statistics (2002-2025), player statistics (2021-2025), and MLB draft data (1965-2025)

548 9 0
evansloan
sports-py

A simple Python package to gather live sports scores

500 63 16
ss77995ss
baseball-stats-python

A package that get baseball data

457 13 3
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.

435 127 22
kmac
mlbv

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

398 58 28
i-am-david-weinstein
espn-fantasy-mcp

MCP server for ESPN Fantasy Sports API

373 0 0
bdilday
pybbda

Python Baseball Data and Analysis

361 36 3
bdilday
pychadwick

Python bindings to the Chadwick library

321 10 4
hkyplyr
yfantasy-api

Python package to access the Yahoo! Fantasy APIs

262 12 3
power-edge
pymlb-statsapi

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

253 2 0
prs-watch
hof

Not practical tool to make Baseball Hall of Fame as you want.

246 1 0
JLpython-py
fangraphs

No description available

242 18 1
stiles
scorebug

Follow any MLB game from your terminal. Live play-by-play, compact scoreboard and scoring highlights. No browser, just baseball.

144 3 0
stiles
utilityman

Follow any MLB game in your shell - the utility player for baseball fans

138 3 0
seanyboi
sorarepy

Wrapper for the Sorare API in python

73 3 0
bdilday
pychadwicklib

Python bindings to chadwick library

39 0 0
    • Data from PyPI, GitHub, ClickHouse, and BigQuery