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

170K 4K 720
sportsdataverse
sportsdataverse

sportsdataverse python package

10K 121 18
coreyjs
nhl-api-py

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

6K 153 25
0xalexdelgado
nhlpy

Python NHL API Wrapper 🏒🥅

4K 13 3
roclark
sportsipy

A free sports API written for python

3K 577 199
MySportsFeeds
ohmysportsfeedspy

Python wrapper for the MySportsFeeds Sports Data API

2K 81 20
roclark
sportsreference

A free sports API written for python

1K 577 199
floodlight-sports
floodlight

Python package for streamlined analysis of sports data.

886 133 26
zachpanz88
mlbgame

A Python API to retrieve and read MLB GameDay data

746 551 109
a-luna
vigorish

MLB data web scraper, Python CLI application

599 2 2
kabaddiPy
kabaddipy

Code for kabaddiPy API published on PyPI.

333 53 17
johnwmillr
sportradar

Python wrapper for the Sportradar APIs ⚽️🏈

331 57 20
MikeSmithEU
apisports

Python library for querying API-Sports.io

328 0 0
armstjc
athletes-unlimited-py

Python package for the Athletes Unlimited sports organization.

312 1 0
shufinskiy
nba-on-court

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

277 47 8
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
evansloan
sports-py

A simple Python package to gather live sports scores

228 63 17
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.

224 0 0
jlondal
pyrugga

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

189 11 1
Dmitrii-I
sportmonks

sportmonks is a Python 3.5+ package that implements SportMonks API.

185 40 10
jtpavlock
nbapy

Python API for stats.nba.com

170 11 4
prrockzed
sportscli

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

163 0 0
seemethere
nba-py

Python client for NBA statistics located at stats.nba.com

150 1K 248
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.

134 16 1
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology