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
Built Distribution
Hashes for batch_football_data-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc452368a43454c45f0784431dea1ec8f7c61f9d40e82f097f013ca93086ff1 |
|
MD5 | 90cd484444c5a222d4cfc052790959d9 |
|
BLAKE2b-256 | f9811996cb1751334069021591424d39e34301452118c2d1f4fbf4bf5a471fb6 |
Hashes for batch_football_data-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7f1a1b1c01c6315d17dcbc4fe618c23e888e66cf071a635cbbca2d2c4f79ec2 |
|
MD5 | f78ffd4aa227a86a06413b27255b371a |
|
BLAKE2b-256 | 179d43f144bf8fd0c314a0f98c42b00d17e0582282a6daaff80df48bcf7dce76 |