Skip to main content

Statcast → BigQuery: idempotent ingestion + LLM-friendly docs + Baseball Savant verification

Project description

statcast-bigquery

Idempotent Statcast → BigQuery ingestion, with first-class documentation for SQL/LLM agents and round-trip validation against Baseball Savant.

Install

pip install statcast-bigquery

Quickstart

gcloud auth application-default login
statcast-bigquery sync \
    --start 2024-04-01 --end 2024-10-31 \
    --table myproject.mydataset.statcast_pitches

Documentation

statcast-bigquery docs --format llm > STATCAST_FOR_LLMS.md

Verification

statcast-bigquery verify \
    --source baseball-savant \
    --aggregation player-season \
    --metric all --season 2024 \
    --table myproject.mydataset.statcast_pitches

MIT licensed. This software does not include or distribute MLB data.

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

statcast_bigquery-0.3.0.tar.gz (850.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

statcast_bigquery-0.3.0-py3-none-any.whl (56.5 kB view details)

Uploaded Python 3

File details

Details for the file statcast_bigquery-0.3.0.tar.gz.

File metadata

  • Download URL: statcast_bigquery-0.3.0.tar.gz
  • Upload date:
  • Size: 850.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for statcast_bigquery-0.3.0.tar.gz
Algorithm Hash digest
SHA256 2696bac5e77419e62c648bfb754fe52cdd73c0a94b3acb4342705842e3ac175b
MD5 e944595ff5059d76d142ccc2730da471
BLAKE2b-256 a595209d09531058771e7e4a6a37c0c801bad944c0ffa04164c5656a56df8bdd

See more details on using hashes here.

Provenance

The following attestation bundles were made for statcast_bigquery-0.3.0.tar.gz:

Publisher: release.yml on blahovec-labs/statcast-bigquery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file statcast_bigquery-0.3.0-py3-none-any.whl.

File metadata

File hashes

Hashes for statcast_bigquery-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0364192b48e730b1c65e55aaa312ba8fc89b24880b95779bafd4b50f7559abc3
MD5 545e755848dddca4027d44864b6a4837
BLAKE2b-256 bc067e5ec49f8d4d01964d336b72745ef0a66bd880055e1684c4a840064585fa

See more details on using hashes here.

Provenance

The following attestation bundles were made for statcast_bigquery-0.3.0-py3-none-any.whl:

Publisher: release.yml on blahovec-labs/statcast-bigquery

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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