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.9.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

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

batch_football_data-0.0.9-py3-none-any.whl (7.1 kB view details)

Uploaded Python 3

File details

Details for the file batch_football_data-0.0.9.tar.gz.

File metadata

  • Download URL: batch_football_data-0.0.9.tar.gz
  • Upload date:
  • Size: 8.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for batch_football_data-0.0.9.tar.gz
Algorithm Hash digest
SHA256 ff19189276371b26a012e916b9a0de76352d3a1b22aa38b920c55ac43a99c9c6
MD5 1ec841ff7356d1f0ef9e29f637f8ba7b
BLAKE2b-256 8c388d83566864caf7826c5ab80f66d2f60ae2ab0a1e29517fd930f8cd84a953

See more details on using hashes here.

File details

Details for the file batch_football_data-0.0.9-py3-none-any.whl.

File metadata

File hashes

Hashes for batch_football_data-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 8e8c9ae1a53bb2f9dfc22c5a64a605654bb54099e703e0b475a0ee787ed232ed
MD5 9aa2fb6608d10a0045d7392bcd44216a
BLAKE2b-256 d55655081d4a570b59ae7ff956dba1f404cd212635d9969a4216f971e6f5b32c

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