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

Sports Analytics Python Packages

Python packages with the GitHub topic sports-analytics. Sorted by monthly downloads, with stars and forks.
nflverse
nflreadpy

python port of nflreadr package for loading nflverse data

317K 253 39
martineastwood
penaltyblog

⚽ High-performance football analytics: build data pipelines, scrape data, model matches, rank teams, and bet smarter | Powered by www.pena.lt/y 🚀

55K 250 40
pnxenopoulos
awpy

Python library to parse, analyze and visualize Counter-Strike 2 data

29K 642 89
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
CFBD
cfbd

Python wrapper for the CFBD API

14K 222 41
sportsdataverse
sportypy

Python package for drawing regulation playing surfaces for several sports

14K 52 4
alenrajsp
tcxreader

tcxreader is a reader / parser for Garmin’s TCX file format. It also works well with missing data!

13K 34 11
sportsdataverse
sportsdataverse

Tidy sports data in Python: play-by-play, box scores, schedules, rosters and models across 100+ leagues (NFL, NBA, WNBA, MLB, NHL, college sports, soccer, international basketball and hockey). polars-first.

12K 133 22
ML-KULeuven
socceraction

Convert soccer event stream data to SPADL and value player actions using VAEP or xT

7K 832 159
mxufc29
nbainjuries

Package for accessing historical and real-time NBA player injury data.

6K 48 9
christianclaudio
mcp-server-espn

Enterprise Model Context Protocol (MCP) server for live and historical sports analytics, odds, and predictions via ESPN

5K 0 1
themm1
procyclingstats

procyclingstats scraper

4K 104 37
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
davidpagnon
sports2d

Compute 2D human pose and angles from a video or a webcam.

3K 358 52
etroulland
garmin-golf-analytics

Turn Garmin Connect golf rounds into per-club distances and a score debrief that is not fooled by Garmin defaults.

3K 0 0
tanhtruong
makerundev

Open source running analytics for sports-watch data: FIT/GPX/TCX parsing, metrics, and a self-hosted app.

3K 0 2
kabaddiPy
kabaddipy

A Python module for aggregating Kabaddi data

2K 53 17
j-andrews7
kenpompy

A simple yet comprehensive web scraper for kenpom.com.

2K 87 29
gotoConversion
goto-conversion

goto_conversion - Powered $47,000 of prize money, 10+ Gold Medals and 100+ Medals on Kaggle

2K 118 22
tanhtruong
makerundev-server

Self-hosted web app for your running data, built on makerundev.

2K 0 2
floodlight-sports
floodlight

Python package for streamlined analysis of sports data.

1K 135 25
jinsim
f1verse

Zero-dependency Formula 1 data for race narratives, telemetry, strategy, history, and grounded summaries.

1K 0 0
dohyung1
fpl-intelligence

MCP server that turns Claude into a Fantasy Premier League analyst. 11 tools: captain picks, transfer suggestions, player comparison, hit calculator, chip strategy, differentials, fixtures, price predictions, live points, squad scout. pip install fpl-intelligence

1K 11 2
georgedouzas
sports-betting

Collection of sports betting AI tools.

1K 855 157
    • Original data from PyPI, GitHub, and OSV; downloads served through ClickHouse
    • Sources & methodology