Pybaseball

Latest version: v2.2.7

Safety actively analyzes 682441 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

2.2.1

- Statcast Fielding & Running leaderboards -- wfordh

- Improved logger setup -- Maradonna90

- Various bugfixes -- TheCleric, bdilday, schorrm, Latonis

- Make Statcast parallelization optional -- reddigari

2.2.0

Release Notes

- Cleaning up and parallelizing Statcast calls -- TheCleric, bdilday, and schorrm

- Statcast spin rate & spin direction -- tpoatsy, see docs/statcast_pitcher_spin.md for more info.

- Statcast Batter & Pitcher leaderboards -- wfordh

- We removed some fairly unnecessary dependencies that were causing a massive amount of dependency bloat -- TheCleric and bdilday.

- Various test fixes -- TheCleric

- Spell-check to playerid lookup -- tjburch and mwisnie5

- Plotting bugfix -- andersonfrailey

- Marcels Example -- andersonfrailey

2.1.1

- Fix statcast perf regression

2.1.0

Release Notes

We have a lot of new stuff in this release.

- Caching
- We now cache most of the time expensive scraping functions. In addition, we have a consistent storage location for the Lahman Databank, so no more five copies of baseball-databank. This is currently disabled by default, you can enable it (see caching in the docs).
- Basically, now when you call something like `batting_stats(2018)`, for a while subsequent calls will just hit the cache, if it is enabled, so you don't need to do a bunch of pd.load and df.to_csv all over your notebooks.
- Right now this is a week by default, which is configurable in code, and will probably change soon to more specific per-function staleness. TheCleric, schorrm

- FanGraphs fielding - TheCleric

- Massively expanded options for FanGraphs scraping - TheCleric

- Marcel projections - bdilday

- Batted ball trajectories - bdilday

- Baseball Reference splits - mwisnie5

- Add spray angle to statcast dataframes - tjburch

- Flag imputed data (where Trackman didn't do it, stringers did) in statcast batting - tjburch
- See this piece in [The Hardball Times](https://tht.fangraphs.com/43416-2/) for more info.

- Plot batted ball profile - tjburch

- Improvements to data type inference - TheCleric

- Unit testing, by TheCleric

- And various bugfixes, with thanks to bdilday, bgunn34, and TheCleric.

2.0.0

Recent Updates
- New Maintainer: after a period of inactive maintenance, this is again being actively maintained.
- New functionality:
- Plot spray charts on stadium (schorrm/pybaseball9, thanks to andersonfrailey)
- Baseball Reference game logs (schorrm/pybaseball4, thanks to reddigari)
- More functions for Chadwick Bureau data (schorrm/pybaseball8, thanks to valdezt)
- Exposes Chadwick Bureau lookup table (schorrm/pybaseball7)
- Top Prospects (schorrm/pybaseball5, thanks to TylerLiu42)
- Full Season Statcast data (schorrm/pybaseball2, TylerLiu42)
- Amateur Draft results (schorrm/pybaseball11, TylerLiu42)
- Bugfixes, with thanks to bgunn34 and TAThor

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.