PyRank
  • Insights
  • PyPI
  • GitHub
  • Search
  • Compare
  • Advisories
  • Ecosystem
  • About

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)

251K 2K 416
benjamincrom
baseball

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

7K 104 16
rozelie
pyretrosheet

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

3K 4 1
daviddalpiaz
pylahman

⚾ Python package for access to the Lahman Baseball Database

2K 5 1
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)

1K 10 0
mgula57
mlb-showdown-bot

Showdown Bot is the simplest way of creating custom MLB Showdown cards. Simply enter a player's name, season, and image. The Showdown Bot takes care of the rest. Check it out https://showdownbot.com

1K 36 5
ss77995ss
baseball-stats-python

A package that get baseball data

999 15 3
zachpanz88
mlbgame

A Python API to retrieve and read MLB GameDay data

885 548 111
bdilday
pychadwick

Python package to interface with chadwick library

740 10 4
joesmi9
baseballdc

Baseball Data Center

630 0 0
JLpython-py
fangraphs

A library for scraping data off of the FanGraphs webpages.

519 18 1
JacobLee23
sabrmetrics

A web scraper for SABRmetrics websites

412 5 0
bdilday
pybbda

Python Baseball Data and Analysis

412 36 3
power-edge
pymlb-statsapi

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

387 2 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.

368 131 22
evansloan
sports-py

A simple Python package to gather live sports scores

357 63 17
kmac
mlbv

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

340 59 28
prs-watch
hof

not practical tool to make hof as you want.

254 1 0
i-am-david-weinstein
espn-fantasy-mcp

MCP server for ESPN Fantasy Sports API

240 0 0
stiles
scorebug

Follow any MLB game in your shell

189 3 0
hkyplyr
yfantasy-api

Python API client that can be used to make calls to the Yahoo! Fantasy Sports API. Developed specifically for NHL, but should support the NFL, MLB, and NBA as well.

182 13 3
stiles
utilityman

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

147 3 0
seanyboi
sorarepy

Wrapper for the Sorare API in python

84 3 0
bdilday
pychadwicklib

Python bindings to the Chadwick library

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