toucan.mvp.calculator.tournament#

Module containing the ToucanTournament class.

Classes#

ToucanTournament

Class containing the Toucan tournament logic.

Module Contents#

class toucan.mvp.calculator.tournament.ToucanTournament(name: str)#

Class containing the Toucan tournament logic.

property name: str#

Access property for retrieving the name of the tournament.

Returns:
str

The name of the tournament.

property mvp: toucan.mvp.calculator.players.ToucanPlayer | None#

Access property for retrieving the name of the tournament’s MVP.

Returns:
ToucanPlayer or None

The MVP of the tournament. None if no MVP is possible.

property players: List[toucan.mvp.calculator.players.ToucanPlayer]#

List containing the player’s participating in the tournament.

Returns:
List[ToucanPlayer]

List of tournament’s players.

process_tournament(dir: pathlib.Path | str) None#

Process a tournament given a directory where the match files are located.

Parameters:
dirPath or str

Directory where the match files are located.