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.1.3.tar.gz (836.3 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.1.3-py3-none-any.whl (40.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: statcast_bigquery-0.1.3.tar.gz
  • Upload date:
  • Size: 836.3 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.1.3.tar.gz
Algorithm Hash digest
SHA256 c42bffeb45db81c153c3079d017b2d4b60302a6cefbb358564db3823be8f1596
MD5 0e848f02956c0c3d30d3286f35da41a6
BLAKE2b-256 1ebc495ac04c444ab5042a6a711af6271240b0b3cd66869f9697a987c8f52907

See more details on using hashes here.

Provenance

The following attestation bundles were made for statcast_bigquery-0.1.3.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.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for statcast_bigquery-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e402921f18983f848aed74ae12271ab941dd40fb55faef9eb0716d6fe1126c1
MD5 7af429e55a062c811b331c2dbc0eb65c
BLAKE2b-256 3d36fe690206950e74f6cc73dc9d3cf92b4d95f43dc494283eaaca337aeebd7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for statcast_bigquery-0.1.3-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