Skip to main content

A python pacakge for getting baseball stats

Project description

baseball-stats-python

A package that get baseball data from

Overview

Inspired by baseball-stats-python. This pacakge is mainly focused on getting pitch-by-pitch data from Baseball Data Website like Baseball Savant and provide a easy way to get data for analytics.

Installation

Install the package via pip

pip install baseball-stats-python

Download the main branch by git clone

git clone https://github.com/ss77995ss/baseball-stats-python.git

pip with repository url

pip install git+https://github.com/ss77995ss/baseball-stats-python.git

Usage

statcast_search

Get pitch-by-pitch data from Baseball Savant with their search parameters.

from baseball_stats_python import statcast_search

# Get Dodgers's pitcher data in July 2024
statcast_search(
    season="2024",
    team='LAD',
    player_type='pitcher',
    month="7"
)

Contributing

Welcome to open issues or pull requests to contribute to this project. Please read CONTRIBUTING.md for more details.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

baseball_stats_python-0.0.6.1.tar.gz (7.4 kB view details)

Uploaded Source

Built Distribution

baseball_stats_python-0.0.6.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file baseball_stats_python-0.0.6.1.tar.gz.

File metadata

File hashes

Hashes for baseball_stats_python-0.0.6.1.tar.gz
Algorithm Hash digest
SHA256 1e1032fd8687114bae333e680f4b9ad6731e9b1c7c5f69142eb15429530c2bd7
MD5 de42f410fd0f9a2695ec7a606c73aefd
BLAKE2b-256 446938297f89697dfd1bfbeb447cf4c5e7541eda97d57cf9356c3941e318db65

See more details on using hashes here.

File details

Details for the file baseball_stats_python-0.0.6.1-py3-none-any.whl.

File metadata

File hashes

Hashes for baseball_stats_python-0.0.6.1-py3-none-any.whl
Algorithm Hash digest
SHA256 11e2561be3887b006ea93e892f34986b11b861fd26c044af12935a1b54690e96
MD5 f0c1e1b70fd19ec18ee3b953c8eb115b
BLAKE2b-256 8f4b258ecf2bad74621dd150260d56822e79398ff558e6a0b6b9e4019ef1e2a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page