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

Sports Analytics Python Packages

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

python port of nflreadr package for loading nflverse data

42K 152 22
CFBD
cfbd

Python wrapper for the CFBD API

32K 207 37
martineastwood
penaltyblog

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

22K 163 19
coreyjs
nhl-api-py

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

17K 137 23
j-andrews7
kenpompy

A simple yet comprehensive web scraper for kenpom.com.

11K 88 29
alenrajsp
tcxreader

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

11K 33 12
sportsdataverse
sportsdataverse

sportsdataverse python package

7K 101 12
ML-KULeuven
socceraction

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

6K 771 153
themm1
procyclingstats

procyclingstats scraper

5K 100 36
pnxenopoulos
awpy

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

5K 568 82
mxufc29
nbainjuries

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

4K 41 8
davidpagnon
sports2d

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

4K 226 36
georgedouzas
sports-betting

Collection of sports betting AI tools.

3K 702 134
sportsdataverse
sportypy

Python package for drawing regulation playing surfaces for several sports

2K 48 3
EnderLocke
pyespn

python client to interact with the espn api

2K 34 4
gotoConversion
goto-conversion

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

1K 110 16
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 4 0
floodlight-sports
floodlight

A high-level framework for sports data analysis

1K 117 21
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.

927 11 0
thadhutch
nfl-data-pipeline

End-to-end NFL data pipeline that scrapes PFF grades and Pro Football Reference game data, builds analysis-ready datasets, and trains ensemble XGBoost models with walk-forward backtesting

918 17 2
armstjc
athletes-unlimited-py

Python package for the Athletes Unlimited sports organization, and for the various sports it hosts.

769 1 0
sVujke
basket-viz

A Python library for creating interactive and customizable visualizations of basketball statistics.

712 6 0
unravelsports
unravelsports

The unravelsports package aims to aid researchers, analysts and enthusiasts by providing intermediary steps in the complex process of turning raw sports data into meaningful information and actionable insights.

711 240 32
kubosis
torch-rating

Seamless integration of sport rating systems into graph neural networks in the PyTorch environment

501 4 1
    • Data from PyPI, GitHub, ClickHouse, and BigQuery