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.5.tar.gz (6.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: baseball_stats_python-0.0.5.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.2

File hashes

Hashes for baseball_stats_python-0.0.5.tar.gz
Algorithm Hash digest
SHA256 6b1faa2bb2f70eb1ceeb79b1313ae1b492bc48100e2652af894d37b39db2e507
MD5 73b550e6a8c2af2f5cbd441137818013
BLAKE2b-256 50ada456c176b00c1f4d372ddbc8f19157d30fd1a07eeef01d8ba5c2854cffd9

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