Skip to main content

EA NHL HUT player ratings → BigQuery snapshots + cross-source resolver to nhl-bigquery

Project description

nhl-hut-bigquery

EA NHL Ultimate Team player ratings → BigQuery snapshots, with cross-source resolver and coverage metrics linking HUT cards to NHL stats.

Install

pip install nhl-hut-bigquery

This package is a sibling to nhl-bigquery. Install both for the full experience:

pip install nhl-bigquery nhl-hut-bigquery

Quickstart

gcloud auth application-default login

# 1. Snapshot today's HUT ratings
nhl-hut-bigquery sync \
    --table myproject.mydataset.hut_player_ratings

# 2. Resolve HUT cards to NHL player_ids (requires nhl-bigquery's boxscore_stats)
nhl-hut-bigquery resolve-ids \
    --xref-table myproject.mydataset.hut_player_xref \
    --hut-table myproject.mydataset.hut_player_ratings \
    --nhl-boxscore-table myproject.mydataset.boxscore_stats \
    --season 2024

# 3. How much of NHL ice-time is covered by today's HUT snapshot?
nhl-hut-bigquery verify \
    --aggregation hut-coverage \
    --xref-table myproject.mydataset.hut_player_xref \
    --nhl-boxscore-table myproject.mydataset.boxscore_stats \
    --season 2024 --snapshot-date 2026-05-22

Documentation

nhl-hut-bigquery docs --format llm > HUT_FOR_LLMS.md
nhl-hut-bigquery docs --format markdown > schema.md

Verification

# Internal integrity checks on a snapshot (overall in range, no dupes, …)
nhl-hut-bigquery verify --aggregation snapshot-integrity \
    --table myproject.mydataset.hut_player_ratings

# Drift checks between consecutive snapshots
nhl-hut-bigquery verify --aggregation cross-snapshot-drift \
    --table myproject.mydataset.hut_player_ratings

MIT licensed. This software does not include or distribute EA-owned 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

nhl_hut_bigquery-0.1.1.tar.gz (107.6 kB view details)

Uploaded Source

Built Distribution

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

nhl_hut_bigquery-0.1.1-py3-none-any.whl (32.7 kB view details)

Uploaded Python 3

File details

Details for the file nhl_hut_bigquery-0.1.1.tar.gz.

File metadata

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

File hashes

Hashes for nhl_hut_bigquery-0.1.1.tar.gz
Algorithm Hash digest
SHA256 03225db762b3d348b601bcffa078115fb0b1b3d751fbd6538aeaac406c191ade
MD5 93e349181cf49007ddebf7742d7dee0e
BLAKE2b-256 d01c65287f58279926ac5627ccc730f039a8fe4183d66425211e8584f04737e4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nhl_hut_bigquery-0.1.1.tar.gz:

Publisher: release.yml on blahovec-labs/nhl-hut-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 nhl_hut_bigquery-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nhl_hut_bigquery-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 241cb27ef9cb80c1da76660a4b10fc67fb9424f91302c26e5bd9f4428187a718
MD5 48ee3264dc513ecaa1cfa38edacc0b4b
BLAKE2b-256 95847fa4eec7c11f607ccd8a54b40aa79dbb3c7de00481186cc4fde84febb680

See more details on using hashes here.

Provenance

The following attestation bundles were made for nhl_hut_bigquery-0.1.1-py3-none-any.whl:

Publisher: release.yml on blahovec-labs/nhl-hut-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