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.2.0.tar.gz (841.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.2.0-py3-none-any.whl (46.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: statcast_bigquery-0.2.0.tar.gz
  • Upload date:
  • Size: 841.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.2.0.tar.gz
Algorithm Hash digest
SHA256 27a4d1f9ae2bf859c3a6b18b9f475ca9f61fbfde9d8d0f7e4f2600da6f97d12f
MD5 ae3bf257db51c29beb2decf290775672
BLAKE2b-256 a944b2e8d241583b7494151f11fb29a694334b37277f04eced8ac1606c390f0e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for statcast_bigquery-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b735400983a2b3689ff45285989506cd540a5b3907cb86bb885960c1e4cb3cb1
MD5 e8efdb85fe02144409bd1e4ba94e8ef0
BLAKE2b-256 7c6b7018b931fa8776a3db0b3db53ce40d3613611391ac3af613a50f1aeef515

See more details on using hashes here.

Provenance

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