Skip to main content

Data Access Library for interacting with the FB Stats Postgres Database.

Project description

Batch Football Data

Python Data Models for interacting with the Football Stats Database.

Modules

The Football Data library contains two modules:

  • Models
  • Repositories

Models Module

The Models Module contains ORM Classes representing the tables within the database mapped for use in SQL Alchemny. The following Data Classes are available:

  • Players - Represents a player in the league.
  • Position - Lookup for the Player's Position
  • Schedule - Represents a given game played during the week in a season.
  • Statistic - A Ststistic for either a player or a Team
  • StatisticCategory - Category of Statistic (Defense, Offense)
  • StatisticCode - Code Value related to the Statistic (Passing Yard, Rushing Yards, etc)
  • Team - Team in the League
  • TypeCode - Defines the Season type for a schedule entry (Preseason, Regular, Post Season)
  • TeamStaff - Establishes a relationship for a Player to a Team for a given Year
  • League - Defines a League for teams
  • TeamLeague - Establishes a linkage between a Team and League.

Repositories Module

The repositories module contains individual repository class for each of the Model classes for interacting with items in the database. Each repository contains methods for saving single and multiple items. They also contain methods for validating the item is present or not in the database.

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

batch_football_data-0.0.7.tar.gz (29.3 kB view hashes)

Uploaded Source

Built Distribution

batch_football_data-0.0.7-py3-none-any.whl (6.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page