Source code for src.core.meta

"""constants and structural data of this project"""

from enum import StrEnum, Enum, IntEnum

version_c = "0.1"

[docs] class GameTable(StrEnum): """the three tablenames of this project Attributes ---------- META : str = "metadata" TEAM : str = "teamdata" PLAYER : str = "playerdata" """ META = "metadata" TEAM = "teamdata" PLAYER = "playerdata"
gameTableLength: dict[GameTable, int] = { GameTable.META: 1, GameTable.PLAYER: 10, GameTable.TEAM: 2 }
[docs] class TimeTable(StrEnum): FRAME = "framedata" EVENT = "eventdata"
[docs] class ImportType(Enum): GENERAL = GameTable TIMELINE = TimeTable