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

Uploaded Python 3

File details

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

File metadata

  • Download URL: statcast_bigquery-0.1.2.tar.gz
  • Upload date:
  • Size: 836.1 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.2.tar.gz
Algorithm Hash digest
SHA256 5bf4175a0ef542faa5b92edd407563f957b5b5f13d23ac478a5cba1542b4f1ac
MD5 a08c4d27044b9324c68405213682ab36
BLAKE2b-256 9846c2459216258ebb07d617820152601110ec9ddab03dc92cc4b61f0a165a48

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for statcast_bigquery-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 a487f2d9905866d7d82421cd0fa921979bb5eadd1f1252ae35cbc095352d3306
MD5 b9ba03c735164329d74852a4b92d4af1
BLAKE2b-256 acf7ce004c4ac369b9b1c29a7ef982656a909b75745d9c83ec7615de7ddfed41

See more details on using hashes here.

Provenance

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