mlbgame
boxball
Our great sponsors
mlbgame | boxball | |
---|---|---|
2 | 7 | |
513 | 107 | |
- | - | |
0.0 | 5.5 | |
about 2 years ago | 3 months ago | |
Python | Python | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
mlbgame
-
.
Lastly, I have to give HUGE props to panzarino for his mlbgame Python library. And of course, to hzeller for the actual RGBMatrix library. I used the Python bindings but if you wanna play hard mode, it's originally used with C++.
boxball
- What's the current standard for getting mlb data into a database? I used to use Baseball On a Stick (which accessed the old gameday data) but that doesn't work now. I found "mlbdata" which accesses the mlb API but I can't figure out how to make it put stuff into a database. Is there a good option?
-
How do I compile a list of a team's games where event x did not happen?
You know, I thought about that after posting, that the dailies might not be available directly from retrosheet. I use the Boxball distributions, which take the retrosheet data and process it into database images. These distributions include a "daily" table with the daily logs. So apparently Boxball is generating that table.
-
Finding a player's stats through N games
I've always been good with data, math, Excel, etc., but decided to take it to another level during the pandemic. The most difficult thing about Retrosheet data is getting into a usable format. Luckily, the boxball project has created a number of ready-to-download images with all of the data, for different database technologies.
-
RE24 Data for wOBA Calculations
For Retrosheet data, I've been using pre-built images from Boxball, rather than going through the whole process of downloading and converting the files from retrosheet. The Boxball images are awesome. I mostly use the Parquet files for Pandas, but they have other formats (e.g., postgres Docker images, CSV, etc) there.
What are some alternatives?
MLB-StatsAPI - Python wrapper for MLB Stats API
pybaseball - Pull current and historical baseball statistics using Python (Statcast, Baseball Reference, FanGraphs)
ElectroCRUD - Database CRUD Application Built on Electron | MySQL, Postgres, SQLite
chadwick - Chadwick tools for manipulating baseball data
baseball_sql - SQL scripts for working with the baseball data from retrosheet and baseball-databank, as provided by boxball
lazystream - Easily get LazyMan stream links, output directly or to m3u / xmltv formats. Streams can also be recorded or casted.
baseballr - A package written for R focused on baseball analysis. Currently in development.
condenser - Condenser is a database subsetting tool
sqlx - 🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
strat-o-rama - Generating plausible Strat-O-Matic cards from MLB data
goqu - SQL builder and query library for golang