pybaseball

JSON →
library 2.2.7 ·python
verified May 1, 2026

pybaseball is a Python library for retrieving and analyzing baseball data from sources like Baseball Savant, FanGraphs, and Baseball-Reference. Version 2.2.7 (current) fixes FanGraphs leaderboard URLs and adds new features like PitchingBot/Stuff+ stat enums and strike zone plotting. Release cadence is irregular, with minor patches every few months.

total hits 17
actors 4 distinct systems
last hit 4d ago AhrefsBot
MetaBot
3
GPTBot
1
ClaudeBot
1
Humans
2

top countries 🇨🇦 Canada · 🇺🇸 United States · 🇸🇬 Singapore · 🇬🇧 United Kingdom