Skip to main content

A package for hockey stats

Project description

Data533_Assignment Hockey Package

We will create a database system to manage data from the last five NHL seasons. The main package will contain three types of databases:

  1. Team Statistics: Data on games played, wins, losses, points, etc.
  2. Goalie Statistics: Data on games played, wins, saves, etc.
  3. Skater Statisitics: Data on goals, assists, position, etc.

Additionally, there will be two subpackages:

Subpackage 1: teamstats

basic Module: Displays the basic stats for the teams given a year from the user

  1. LoadData - Loads and return the correct data for the given year
  2. BasicStats - Allows the user to retrieve a stat for a specific team and year (RK, GP, W, L, OT, PTS, PTS/GP, ROW, GF, GA, GD)
  3. AdvancedStats - Allows the user to retrieve PTS/GP, GF/GP and GA/GP for a specific team and year

toplists Module: Generate lists for the top teams, players with the most assists, and most goals

  1. TopTeams - Allows the user to choose an NHL season, and show the teams with the most points from that year
  2. TopAssists - Allows the user to choose an NHL season, and show the players with most assists from that year
  3. TopGoals - Allows the user to choose an NHL season, and displays the players with the most goals from that year

Subpackage 2: player

player Module: Allows for the creation of a player class to retrieve player data.

  1. load_data - Loads and return the correct data for the given year
  2. get_player_data - Loads and return the correct data for the given player within the year

skater Module: Allows for the creation of a skater class to retrieve skater data - subclass of player.

  1. load_data - Loads and return the correct data for the given year - calls from player parent class
  2. basic_stats - Allows the user to retrieve basic stats for a skater in the chosen year (team, position, goals, points)
  3. advanced_stats - Allows the user to retrieve advanced stats for a skater in the chosen year (Corsi percentage, Fenwick percentage)

goalie Module: Allows for the creation of a skater class to retrieve goalie data - subclass of player.

  1. load_data - Loads and return the correct data for the given year - calls from player parent class
  2. basic_stats - Allows the user to retrieve basic stats for a goalie in the chosen year (team, wins, games played, save percentage)
  3. advanced_stats - Allows the user to retrieve advanced stats for a goalie in the chosen year (goals against average, shutouts, total number of saves)

TravisCI Badge Build Status

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

hockeypackage-0.0.1.tar.gz (7.9 kB view details)

Uploaded Source

Built Distribution

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

HockeyPackage-0.0.1-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file hockeypackage-0.0.1.tar.gz.

File metadata

  • Download URL: hockeypackage-0.0.1.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.7

File hashes

Hashes for hockeypackage-0.0.1.tar.gz
Algorithm Hash digest
SHA256 8c752519d6dc6e5a4c48663dd88b51687f3bd81b21baa2e624e23cad657bbf73
MD5 b2f31c2d25ccf05b70804b170674a7c8
BLAKE2b-256 c163cd8861b0183ddfca863e895ec9b817611879fc69602fc1c197c0ef6ef003

See more details on using hashes here.

File details

Details for the file HockeyPackage-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: HockeyPackage-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.7

File hashes

Hashes for HockeyPackage-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1414b4eebee5b77824a9e45bd22a7ef482c8642d92d09436e924952ecbfc0c7a
MD5 88ff23b8d9c4b61a1e7c91a7cd2772ab
BLAKE2b-256 9284aa9549fa2d9afd69bc4b57af34b0f175fcfea3db2c5863c0e807e1be4c2c

See more details on using hashes here.

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