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

Sports Stats Python Packages

Python packages with the GitHub topic sports-stats. Sorted by monthly downloads, with stars and forks.
swar
nba-api

An API Client package to access the APIs for NBA.com

341K 4K 729
coreyjs
nhl-api-py

NHL API (2026/2027 Updated) - For accessing most of the NHL EDGE statistical API's, scores, schedules and more

17K 156 26
kabaddiPy
kabaddipy

A Python module for aggregating Kabaddi data

2K 53 17
MySportsFeeds
ohmysportsfeedspy

Python wrapper for the MySportsFeeds Sports Data API

2K 81 20
roclark
sportsipy

A free sports API written for python

2K 579 199
floodlight-sports
floodlight

Python package for streamlined analysis of sports data.

1K 135 25
roclark
sportsreference

A free sports API written for python

811 579 199
shufinskiy
nba-on-court

Python package for filling in information about players on court in NBA play-by-play data.

626 47 8
zachpanz88
mlbgame

A Python API to retrieve and read MLB GameDay data

544 551 108
a-luna
vigorish

Hybrid Python/Node.js web scraper for Major League Baseball (MLB) data.

503 2 2
armstjc
athletes-unlimited-py

Python package for the Athletes Unlimited sports organization.

442 1 0
MikeSmithEU
apisports

Python library for querying API-Sports.io

417 0 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.

351 136 22
jtpavlock
nbapy

Python API for stats.nba.com

347 11 4
johnwmillr
sportradar

A Python wrapper for the Sportradar APIs

293 57 19
evansloan
sports-py

A simple Python package to gather live sports scores

268 63 17
0xalexdelgado
nhlpy

Python NHL API Wrapper 🏒🥅

262 13 3
jlondal
pyrugga

A Python library to analyse rugby matches using Opta's Superscout XML files. Build timelines of matches along with calculating descriptive statistics.

247 11 1
trevor-viljoen
mlbapi

mlbapi is a Python library that provides Pythonic bindings for MLB Advanced Media's StatsAPI — the same data source that powers MLB.com's live game data, box scores, standings, and more.

233 16 1
shoenot
tourneyket

Package to let you easily represent and progress Bracket-style single elimination Tournaments, allowing you to focus on matchup logic and analysis without worrying about the boilerplate. Supports 2, 4, 8, 16, 32, 64...2^n starting teams.

222 0 0
seemethere
nba-py

A python facing API for stats.nba.com

206 1K 249
Dmitrii-I
sportmonks

Pythonic wrapper around SportMonks API.

203 40 10
prrockzed
sportscli

Real-time sports data in your terminal. Chess, Cricket, and Football — all from a single sports command

174 0 0
roclark
sportsreference-sio

A free sports API written for python

67 579 199
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology