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

Uploaded Source

Built Distribution

baseball_stats_python-0.0.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: baseball_stats_python-0.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 89f4f81ed5a8ee72e0252e5fd65668a3e27fc023aeb89e0828666e4c526b18e3
MD5 8d68af9fb8c99ae67664a4b15abbc386
BLAKE2b-256 87c0fb6928d35a89afc0998f030997a9e8de27e6c0a987c7fecc36c38bf1fcf0

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for baseball_stats_python-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e3c799c6fff794703ddd948dd2a5ae3d68fb0a883d6f2feb573de8f1cf1e657b
MD5 9405ffbacf1ea806f139531695531fd7
BLAKE2b-256 33cf038e44e64ce4b6c76d96eb45f1d5b4d16de811e5d07ec0d6933248fa3db4

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