NHL Scrabble Score Analyzer Documentation

CI Status Code Coverage Python 3.12-3.15

A Python application that fetches current NHL roster data and calculates “Scrabble scores” for player names based on standard Scrabble letter values.

📚 Tutorials

Learning-oriented lessons that take you from zero to productive. Start here if you’re new to NHL Scrabble.

Tutorials
📖 How-To Guides

Problem-oriented guides for accomplishing specific tasks. Practical solutions to common problems.

How-To Guides
💡 Explanation

Understanding-oriented background and design rationale. Learn why things work the way they do.

Explanation
📋 Reference

Information-oriented technical specifications. Complete CLI, configuration, and API reference.

Reference
🔧 API Documentation

Auto-generated Python API reference from docstrings. For developers extending the package.

API Reference
💻 Development

Contributing guidelines, testing, and development setup. For project contributors.

Development Guide

Features

🏒 Live NHL Data

Fetches current roster data from the official NHL API

📊 Comprehensive Reports

Multiple report types including conference, division, playoff brackets, and statistics

🎯 Flexible Output

Text or JSON format output

⚙️ Configurable

Customize via environment variables or command-line options

🧪 Well-Tested

Comprehensive test suite with >90% coverage on core modules

📦 Modern Python

Type hints, Pydantic models, and best practices

Requirements

Python Version:

  • Python 3.12 or higher (3.12, 3.13, 3.14, 3.15)

  • Python 3.15-dev is tested but experimental

Dependencies:

  • requests, click, pydantic, python-dotenv, rich, fastapi, uvicorn, jinja2

Compatibility

The project is tested on Python 3.12 through 3.15 in CI. Python 3.15 is in development and while we test against it, compatibility is not guaranteed until Python 3.15 is officially released.

See .github/workflows/ci.yml for the full test matrix.

Quick Example

# Install
pip install nhl-scrabble

# Run analysis
nhl-scrabble analyze

# JSON output
nhl-scrabble analyze --format json --output report.json
# Run nhl-scrabble --help to see all options
$ nhl-scrabble --help

Table of Contents

Indices and tables