Skip to content

throy45/nfl_help

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nfl_help : Helps you decide which game is worth watching

Overview

(Work in progress, idea from 2021)

nfl_help is a Python/Django application that allows you to pull NFL game data and rank the games based on the number of turnovers (interceptions and fumbles). This app uses the nfl_data_py library to fetch NFL play-by-play data and then calculates the turnover count for each game. The ranked games are presented in descending order of turnovers.

Features

  • Pulls NFL play-by-play data for analysis.
  • Ranks NFL games by the number of turnovers.
  • Organizes the rankings by week.

Prerequisites

Before you can run the app, make sure you have the following prerequisites installed:

  • Python (version 3.x)
  • pip (Python package manager)

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/throy45/nfl_help.git
  1. Change to the project directory:
cd nfl_help
  1. Install the required Python packages using pip:
pip install -r requirements.txt

Usage

  1. Run the app by executing the following command in your terminal:
python nfl_help.py
  1. The app will fetch NFL play-by-play data, calculate turnovers, and rank the games by week.

  2. The ranked games will be displayed, showing the games with the most turnovers at the top.

Example Output

Here is an example of what the (initial) output might look like:

Week 1:
1. Game: 2023_01_ARI_WAS, Turnovers: 5
2. Game: 2023_01_DET_SF, Turnovers: 4
3. Game: 2023_01_LV_CIN, Turnovers: 3

Week 2:
1. Game: 2023_02_CLE_PIT, Turnovers: 6
2. Game: 2023_02_NYJ_MIA, Turnovers: 5
3. Game: 2023_02_NE_NYG, Turnovers: 4

...

License

This app is open-source and available under the MIT License. Author

Thomas Roy

Acknowledgments

Thanks to the developers of the nfl_data_py library for providing access to NFL data.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published